home *** CD-ROM | disk | FTP | other *** search
Unknown | 2002-03-13 | 138.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: '; V2 of the BBGTLib'
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 20 56 32 20 6f 66 20 | 74 68 65 20 42 42 47 54 |; V2 of |the BBGT|
|00000010| 4c 69 62 00 3b 20 4c 6f | 61 64 73 20 6f 66 20 69 |Lib.; Lo|ads of i|
|00000020| 6e 74 65 72 6e 61 6c 20 | 72 65 2d 73 74 72 75 63 |nternal |re-struc|
|00000030| 74 75 72 69 6e 67 00 00 | 3b 20 31 37 2f 31 30 2f |turing..|; 17/10/|
|00000040| 39 33 00 3b 20 20 66 69 | 78 65 64 20 69 6d 6d 65 |93.; fi|xed imme|
|00000050| 64 69 61 74 65 2f 72 65 | 6c 76 65 72 69 66 79 20 |diate/re|lverify |
|00000060| 63 6f 6e 73 74 61 6e 74 | 73 20 28 74 68 65 79 20 |constant|s (they |
|00000070| 77 65 72 65 20 62 6c 6f | 6f 64 79 20 77 72 6f 6e |were blo|ody wron|
|00000080| 67 21 29 00 3b 20 20 61 | 64 64 65 64 20 67 74 73 |g!).; a|dded gts|
|00000090| 65 74 73 74 69 6e 67 20 | 67 65 74 73 65 74 69 6e |etsting |getsetin|
|000000a0| 74 65 67 65 72 20 67 74 | 67 65 74 73 74 69 6e 67 |teger gt|getsting|
|000000b0| 20 67 65 74 67 65 74 69 | 6e 74 65 67 65 72 00 3b | getgeti|nteger.;|
|000000c0| 20 20 20 73 6f 20 6e 6f | 20 6d 6f 72 65 20 61 74 | so no| more at|
|000000d0| 74 61 74 63 68 69 6e 67 | 20 61 20 64 75 6d 6d 79 |tatching| a dummy|
|000000e0| 20 42 6c 69 74 7a 20 67 | 61 64 67 65 74 20 6c 69 | Blitz g|adget li|
|000000f0| 73 74 20 66 6f 72 20 75 | 73 65 72 73 00 3b 20 31 |st for u|sers.; 1|
|00000100| 38 2f 31 30 2f 39 33 00 | 3b 20 20 61 64 64 65 64 |8/10/93.|; added|
|00000110| 20 6f 70 74 69 6f 6e 61 | 6c 20 76 61 6c 75 65 73 | optiona|l values|
|00000120| 20 66 6f 72 20 73 63 72 | 6f 6c 6c 2c 73 6c 69 64 | for scr|oll,slid|
|00000130| 65 72 2c 63 79 63 6c 65 | 2c 6d 78 2c 73 74 72 69 |er,cycle|,mx,stri|
|00000140| 6e 67 26 70 61 6c 65 74 | 74 65 00 3b 20 20 61 64 |ng&palet|te.; ad|
|00000150| 64 65 64 20 6f 70 74 69 | 6f 6e 61 6c 20 6c 69 73 |ded opti|onal lis|
|00000160| 74 76 69 65 77 20 70 61 | 72 61 6d 65 74 65 72 73 |tview pa|rameters|
|00000170| 20 61 6e 64 20 66 6c 61 | 67 24 31 30 30 30 20 66 | and fla|g$1000 f|
|00000180| 6f 72 20 72 65 61 64 6f | 6e 6c 79 00 3b 20 20 66 |or reado|nly.; f|
|00000190| 69 78 65 64 20 73 65 74 | 61 74 74 72 20 74 6f 20 |ixed set|attr to |
|000001a0| 66 69 6e 64 20 63 6f 72 | 72 65 63 74 20 67 61 64 |find cor|rect gad|
|000001b0| 67 65 74 00 3b 20 31 33 | 2f 31 31 2f 39 33 00 3b |get.; 13|/11/93.;|
|000001c0| 20 20 66 69 78 65 64 20 | 69 64 20 62 75 67 20 77 | fixed |id bug w|
|000001d0| 68 65 72 65 20 64 31 20 | 70 61 72 61 6d 65 74 65 |here d1 |paramete|
|000001e0| 72 20 77 61 73 20 67 65 | 74 74 69 6e 67 20 74 72 |r was ge|tting tr|
|000001f0| 61 73 68 65 64 20 69 6e | 20 73 74 64 73 65 74 75 |ashed in| stdsetu|
|00000200| 70 00 3b 20 31 39 2f 31 | 31 2f 39 33 00 3b 20 20 |p.; 19/1|1/93.; |
|00000210| 66 69 78 65 64 20 61 74 | 74 61 63 68 67 74 6c 69 |fixed at|tachgtli|
|00000220| 73 74 20 74 6f 20 6e 6f | 74 20 63 6f 72 72 75 70 |st to no|t corrup|
|00000230| 74 20 61 34 00 3b 20 32 | 34 2f 31 31 2f 39 33 00 |t a4.; 2|4/11/93.|
|00000240| 3b 20 20 61 64 64 65 64 | 20 67 74 73 68 61 70 65 |; added| gtshape|
|00000250| 20 66 6f 72 20 67 74 62 | 75 74 74 6f 6e 20 75 73 | for gtb|utton us|
|00000260| 69 6e 67 20 61 6e 20 73 | 68 61 70 65 20 69 6d 61 |ing an s|hape ima|
|00000270| 67 65 2c 00 3b 20 20 69 | 74 20 73 65 65 6d 73 20 |ge,.; i|t seems |
|00000280| 74 68 61 74 20 69 74 20 | 69 73 6e 27 20 74 20 70 |that it |isn' t p|
|00000290| 6f 73 73 69 62 6c 65 20 | 74 6f 20 61 64 64 20 74 |ossible |to add t|
|000002a0| 65 78 74 20 61 6e 79 6d | 6f 72 65 2e 2e 2e 00 3b |ext anym|ore....;|
|000002b0| 20 20 65 72 72 6f 72 20 | 63 68 65 63 6b 69 6e 67 | error |checking|
|000002c0| 20 28 67 74 73 68 61 70 | 65 29 20 61 64 64 65 64 | (gtshap|e) added|
|000002d0| 00 3b 20 4d 61 72 63 68 | 20 31 39 39 34 20 28 42 |.; March| 1994 (B|
|000002e0| 55 4d 36 29 00 3b 20 20 | 47 54 47 65 74 41 74 74 |UM6).; |GTGetAtt|
|000002f0| 72 73 20 28 47 54 4c 69 | 73 74 23 2c 69 64 2c 54 |rs (GTLi|st#,id,T|
|00000300| 61 67 29 00 3b 20 20 47 | 54 45 6e 61 62 6c 65 20 |ag).; G|TEnable |
|00000310| 20 20 47 54 4c 69 73 74 | 23 2c 49 64 00 3b 20 20 | GTList|#,Id.; |
|00000320| 47 54 44 69 73 61 62 6c | 65 20 20 47 54 4c 69 73 |GTDisabl|e GTLis|
|00000330| 74 23 2c 49 64 00 3b 20 | 20 47 54 54 6f 67 67 6c |t#,Id.; | GTToggl|
|00000340| 65 20 20 20 47 54 4c 69 | 73 74 23 2c 49 64 20 5b |e GTLi|st#,Id [|
|00000350| 2c 4f 6e 7c 4f 66 66 5d | 00 3b 20 41 75 67 75 73 |,On|Off]|.; Augus|
|00000360| 74 20 31 39 39 34 00 3b | 20 73 6f 72 74 65 64 20 |t 1994.;| sorted |
|00000370| 6f 75 74 20 6f 73 32 2f | 33 20 70 72 6f 62 6c 65 |out os2/|3 proble|
|00000380| 6d 73 00 3b 20 66 75 63 | 6b 20 61 74 74 61 63 68 |ms.; fuc|k attach|
|00000390| 67 74 6c 69 73 74 20 70 | 72 65 73 75 6d 65 64 20 |gtlist p|resumed |
|000003a0| 61 36 20 68 61 64 20 67 | 74 6c 69 62 3f 3f 3f 3f |a6 had g|tlib????|
|000003b0| 00 3b 20 72 65 6d 6f 76 | 65 64 20 23 47 54 4c 56 |.; remov|ed #GTLV|
|000003c0| 5f 53 68 6f 77 53 65 6c | 65 63 74 65 64 20 74 61 |_ShowSel|ected ta|
|000003d0| 67 20 66 6f 72 20 69 6e | 20 67 74 6c 69 73 74 73 |g for in| gtlists|
|000003e0| 00 3b 20 72 65 6d 6f 76 | 65 64 20 74 68 65 20 66 |.; remov|ed the f|
|000003f0| 72 65 65 20 69 6d 61 67 | 65 70 6f 69 6e 74 65 72 |ree imag|epointer|
|00000400| 73 20 72 6f 75 74 69 6e | 65 20 69 6e 20 66 72 65 |s routin|e in fre|
|00000410| 65 63 6f 6e 74 65 78 74 | 20 28 6d 65 6d 20 64 72 |econtext| (mem dr|
|00000420| 61 69 6e 21 29 20 4e 4f | 54 21 00 3b 00 3b 20 32 |ain!) NO|T!.;.; 2|
|00000430| 6e 64 20 41 70 72 69 6c | 20 32 30 30 30 20 28 44 |nd April| 2000 (D|
|00000440| 61 76 69 64 20 4d 63 4d | 69 6e 6e 29 00 3b 20 20 |avid McM|inn).; |
|00000450| 20 2a 20 53 74 61 72 74 | 65 64 20 61 20 6d 75 63 | * Start|ed a muc|
|00000460| 68 20 6e 65 65 64 65 64 | 20 75 70 64 61 74 65 00 |h needed| update.|
|00000470| 3b 20 20 20 2a 20 43 6f | 6d 6d 65 6e 74 69 6e 67 |; * Co|mmenting|
|00000480| 20 73 6f 6d 65 20 72 6f | 75 74 69 6e 65 73 00 3b | some ro|utines.;|
|00000490| 20 20 20 2a 20 46 69 78 | 65 64 20 66 72 65 65 20 | * Fix|ed free |
|000004a0| 67 74 6c 69 73 74 20 62 | 75 67 20 66 6f 72 20 76 |gtlist b|ug for v|
|000004b0| 69 73 75 61 6c 20 70 72 | 65 66 73 00 3b 20 20 20 |isual pr|efs.; |
|000004c0| 2a 20 66 69 78 65 64 20 | 67 74 73 68 61 70 65 73 |* fixed |gtshapes|
|000004d0| 20 68 61 76 69 6e 67 20 | 77 72 6f 6e 67 20 50 6c | having |wrong Pl|
|000004e0| 61 6e 65 50 69 63 6b 20 | 76 61 6c 75 65 73 00 3b |anePick |values.;|
|000004f0| 20 20 20 2a 20 66 69 78 | 65 64 20 67 74 73 68 61 | * fix|ed gtsha|
|00000500| 70 65 73 20 68 61 76 69 | 6e 67 20 77 72 6f 6e 67 |pes havi|ng wrong|
|00000510| 20 68 69 67 68 6c 69 67 | 68 74 20 69 6d 61 67 65 | highlig|ht image|
|00000520| 73 00 3b 20 33 72 64 20 | 41 70 72 69 6c 20 32 30 |s.; 3rd |April 20|
|00000530| 30 30 20 28 44 61 76 69 | 64 20 4d 63 4d 69 6e 6e |00 (Davi|d McMinn|
|00000540| 29 00 3b 20 20 20 2a 20 | 61 64 64 65 64 20 64 65 |).; * |added de|
|00000550| 74 61 63 68 67 74 6c 69 | 73 74 00 3b 20 20 20 2a |tachgtli|st.; *|
|00000560| 20 61 64 64 65 64 20 67 | 74 67 7a 7a 70 6f 73 69 | added g|tgzzposi|
|00000570| 74 69 6f 6e 00 3b 20 20 | 20 2a 20 61 64 64 65 64 |tion.; | * added|
|00000580| 20 67 74 73 65 74 68 69 | 67 68 6c 69 67 68 74 00 | gtsethi|ghlight.|
|00000590| 3b 20 20 20 2a 20 61 64 | 64 65 64 20 67 74 66 72 |; * ad|ded gtfr|
|000005a0| 65 65 67 61 64 67 65 74 | 20 62 75 74 20 69 74 20 |eegadget| but it |
|000005b0| 6e 65 65 64 73 20 74 6f | 20 62 65 20 72 65 77 72 |needs to| be rewr|
|000005c0| 69 74 74 65 6e 00 3b 20 | 20 20 2a 20 61 64 64 65 |itten.; | * adde|
|000005d0| 64 20 67 74 61 63 74 69 | 76 61 74 65 67 61 64 67 |d gtacti|vategadg|
|000005e0| 65 74 00 3b 20 20 20 2a | 20 66 69 78 65 64 20 70 |et.; *| fixed p|
|000005f0| 6f 73 73 69 62 6c 65 20 | 65 6e 66 6f 72 63 65 72 |ossible |enforcer|
|00000600| 20 64 65 61 74 68 20 66 | 72 6f 6d 20 68 65 6c 6c | death f|rom hell|
|00000610| 20 69 6e 20 69 6e 74 65 | 72 6e 61 6c 20 72 6f 75 | in inte|rnal rou|
|00000620| 74 69 6e 65 20 22 66 69 | 6e 64 67 61 64 6f 72 69 |tine "fi|ndgadori|
|00000630| 67 22 00 3b 20 20 20 2a | 20 68 6f 70 65 66 75 6c |g".; *| hopeful|
|00000640| 6c 79 20 74 68 65 20 66 | 72 65 65 20 67 74 6c 69 |ly the f|ree gtli|
|00000650| 73 74 20 77 69 6c 6c 20 | 6e 6f 77 20 61 6c 73 6f |st will |now also|
|00000660| 20 66 72 65 65 20 74 68 | 65 20 49 6d 61 67 65 20 | free th|e Image |
|00000670| 73 74 72 75 63 74 75 72 | 65 73 20 61 6c 6c 6f 63 |structur|es alloc|
|00000680| 61 74 65 64 20 66 6f 72 | 20 47 54 53 68 61 70 65 |ated for| GTShape|
|00000690| 73 20 61 6e 64 20 73 74 | 69 6c 6c 20 77 6f 72 6b |s and st|ill work|
|000006a0| 20 77 69 74 68 20 56 50 | 00 3b 20 20 20 2a 20 61 | with VP|.; * a|
|000006b0| 6e 64 20 74 68 65 20 73 | 61 6d 65 20 77 69 74 68 |nd the s|ame with|
|000006c0| 20 74 68 65 20 47 54 46 | 72 65 65 47 61 64 67 65 | the GTF|reeGadge|
|000006d0| 74 20 72 6f 75 74 69 6e | 65 00 3b 20 31 39 74 68 |t routin|e.; 19th|
|000006e0| 20 41 70 72 69 6c 20 32 | 30 30 30 20 28 44 61 76 | April 2|000 (Dav|
|000006f0| 69 64 20 4d 63 4d 69 6e | 6e 29 00 3b 20 20 20 2a |id McMin|n).; *|
|00000700| 20 47 54 47 65 74 53 74 | 61 74 75 73 20 72 65 6e | GTGetSt|atus ren|
|00000710| 61 6d 65 64 20 74 6f 20 | 47 54 53 74 61 74 75 73 |amed to |GTStatus|
|00000720| 00 3b 20 20 20 2a 20 68 | 69 67 68 6c 69 67 68 74 |.; * h|ighlight|
|00000730| 20 73 68 61 70 65 20 6e | 6f 77 20 64 69 73 70 6c | shape n|ow displ|
|00000740| 61 79 65 64 20 63 6f 72 | 72 65 63 74 6c 79 2c 20 |ayed cor|rectly, |
|00000750| 77 61 73 20 74 65 73 74 | 69 6e 67 20 74 68 65 20 |was test|ing the |
|00000760| 77 72 6f 6e 67 20 6d 65 | 6d 6f 72 79 20 6c 6f 63 |wrong me|mory loc|
|00000770| 61 74 69 6f 6e 00 3b 20 | 20 20 20 20 77 68 65 6e |ation.; | when|
|00000780| 20 63 68 65 63 6b 69 6e | 67 20 66 6f 72 20 74 68 | checkin|g for th|
|00000790| 65 20 68 69 67 68 6c 69 | 67 68 74 20 69 6d 61 67 |e highli|ght imag|
|000007a0| 65 20 66 6c 61 67 20 62 | 65 69 6e 67 20 73 65 74 |e flag b|eing set|
|000007b0| 00 3b 20 31 35 74 68 20 | 41 75 67 75 73 74 20 32 |.; 15th |August 2|
|000007c0| 30 30 30 20 28 44 61 76 | 69 64 20 4d 63 4d 69 6e |000 (Dav|id McMin|
|000007d0| 6e 29 00 3b 20 20 20 2a | 20 46 69 78 65 64 20 70 |n).; *| Fixed p|
|000007e0| 72 6f 62 6c 65 6d 73 20 | 77 69 74 68 20 47 54 47 |roblems |with GTG|
|000007f0| 61 64 50 74 72 20 61 6e | 64 20 47 54 53 65 74 41 |adPtr an|d GTSetA|
|00000800| 74 74 72 73 20 66 6f 72 | 20 47 54 4c 69 73 74 76 |ttrs for| GTListv|
|00000810| 69 65 77 73 20 28 61 6e | 64 20 70 6f 73 73 69 62 |iews (an|d possib|
|00000820| 6c 79 20 70 61 6c 65 74 | 74 65 73 3f 29 00 3b 20 |ly palet|tes?).; |
|00000830| 20 20 20 20 5b 47 54 47 | 61 64 50 74 72 20 6e 6f | [GTG|adPtr no|
|00000840| 77 20 73 65 61 72 63 68 | 65 73 20 66 6f 72 20 74 |w search|es for t|
|00000850| 68 65 20 6c 61 73 74 20 | 69 74 65 6d 20 69 6e 20 |he last |item in |
|00000860| 74 68 65 20 47 54 4c 69 | 73 74 20 77 69 74 68 20 |the GTLi|st with |
|00000870| 74 68 65 00 3b 20 20 20 | 20 20 49 44 20 77 65 20 |the.; | ID we |
|00000880| 61 72 65 20 6c 6f 6f 6b | 69 6e 67 20 66 6f 72 5d |are look|ing for]|
|00000890| 00 3b 20 20 20 2a 20 4c | 61 74 65 73 74 20 62 75 |.; * L|atest bu|
|000008a0| 69 6c 64 20 64 61 74 65 | 20 61 64 64 65 64 20 74 |ild date| added t|
|000008b0| 6f 20 74 68 65 20 68 65 | 6c 70 20 74 65 78 74 20 |o the he|lp text |
|000008c0| 6f 66 20 74 68 65 20 47 | 54 4c 69 73 74 20 64 75 |of the G|TList du|
|000008d0| 6d 74 6f 6b 65 00 3b 20 | 20 20 2a 20 52 65 61 6c |mtoke.; | * Real|
|000008e0| 6c 79 20 6e 65 65 64 20 | 74 6f 20 67 6f 20 74 68 |ly need |to go th|
|000008f0| 72 6f 75 67 68 20 61 6e | 64 20 6d 61 6b 65 20 61 |rough an|d make a|
|00000900| 6c 6c 20 72 6f 75 74 69 | 6e 65 73 20 75 73 65 20 |ll routi|nes use |
|00000910| 61 20 73 74 61 6e 64 61 | 72 64 20 66 69 6e 64 67 |a standa|rd findg|
|00000920| 61 64 20 72 6f 75 74 69 | 6e 65 00 3b 20 20 20 20 |ad routi|ne.; |
|00000930| 20 74 6f 20 67 65 74 20 | 74 68 65 20 67 61 64 67 | to get |the gadg|
|00000940| 65 74 20 70 6f 69 6e 74 | 65 72 20 61 6e 64 20 63 |et point|er and c|
|00000950| 68 65 63 6b 20 74 68 65 | 20 72 65 74 75 72 6e 20 |heck the| return |
|00000960| 72 65 73 75 6c 74 20 66 | 72 6f 6d 20 73 6f 6d 65 |result f|rom some|
|00000970| 20 74 68 69 6e 67 73 00 | 00 3b 20 32 35 74 68 20 | things.|.; 25th |
|00000980| 4e 6f 76 65 6d 62 65 72 | 20 32 30 30 30 20 28 44 |November| 2000 (D|
|00000990| 61 76 69 64 20 4d 63 4d | 69 6e 6e 29 00 3b 20 20 |avid McM|inn).; |
|000009a0| 20 2a 20 4f 4b 2c 20 64 | 75 65 20 74 6f 20 63 6f | * OK, d|ue to co|
|000009b0| 6d 70 6c 61 69 6e 74 73 | 20 6f 66 20 6e 6f 74 2d |mplaints| of not-|
|000009c0| 77 6f 72 6b 69 6e 67 6e | 65 73 73 2c 20 61 6e 64 |workingn|ess, and|
|000009d0| 20 61 63 74 75 61 6c 6c | 79 20 68 61 76 65 20 61 | actuall|y have a|
|000009e0| 00 3b 20 20 20 20 20 62 | 69 74 20 6f 66 20 61 20 |.; b|it of a |
|000009f0| 74 68 69 6e 6b 20 61 62 | 6f 75 74 20 68 6f 77 20 |think ab|out how |
|00000a00| 74 6f 20 62 65 73 74 20 | 64 6f 20 74 68 69 73 2c |to best |do this,|
|00000a10| 20 49 27 76 65 20 63 68 | 61 6e 67 65 64 20 74 68 | I've ch|anged th|
|00000a20| 65 20 6f 70 65 72 61 74 | 69 6f 6e 00 3b 20 20 20 |e operat|ion.; |
|00000a30| 20 20 6f 66 20 47 54 47 | 61 64 50 74 72 20 61 67 | of GTG|adPtr ag|
|00000a40| 61 69 6e 2e 20 54 68 65 | 20 70 72 6f 62 6c 65 6d |ain. The| problem|
|00000a50| 20 62 65 66 6f 72 65 20 | 77 61 73 20 74 68 61 74 | before |was that|
|00000a60| 20 77 69 74 68 20 74 68 | 65 20 41 63 69 64 20 6c | with th|e Acid l|
|00000a70| 69 62 72 61 72 79 00 3b | 20 20 20 20 20 75 73 69 |ibrary.;| usi|
|00000a80| 6e 67 20 47 54 47 61 64 | 50 74 72 20 77 6f 75 6c |ng GTGad|Ptr woul|
|00000a90| 64 20 72 65 74 75 72 6e | 20 74 68 65 20 70 6f 69 |d return| the poi|
|00000aa0| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 66 69 72 73 |nter to |the firs|
|00000ab0| 74 20 28 70 61 72 74 20 | 6f 66 20 61 29 20 67 61 |t (part |of a) ga|
|00000ac0| 64 67 65 74 00 3b 20 20 | 20 20 20 77 69 74 68 20 |dget.; | with |
|00000ad0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 49 44 2e 20 |the corr|ect ID. |
|00000ae0| 57 68 69 6c 65 20 74 68 | 69 73 20 77 61 73 20 4f |While th|is was O|
|00000af0| 4b 20 66 6f 72 20 73 6f | 6d 65 20 67 61 64 67 65 |K for so|me gadge|
|00000b00| 74 73 2c 20 75 73 69 6e | 67 20 74 68 65 00 3b 20 |ts, usin|g the.; |
|00000b10| 20 20 20 20 72 65 74 75 | 72 6e 65 64 20 70 6f 69 | retu|rned poi|
|00000b20| 6e 74 65 72 20 77 69 74 | 68 20 73 6f 6d 65 20 4f |nter wit|h some O|
|00000b30| 53 20 72 6f 75 74 69 6e | 65 73 20 28 6c 69 6b 65 |S routin|es (like|
|00000b40| 20 74 6f 20 72 65 6d 6f | 76 65 20 47 54 4c 69 73 | to remo|ve GTLis|
|00000b50| 74 76 69 65 77 73 00 3b | 20 20 20 20 20 66 72 6f |tviews.;| fro|
|00000b60| 6d 20 61 20 77 69 6e 64 | 6f 77 2c 20 6f 72 20 75 |m a wind|ow, or u|
|00000b70| 73 69 6e 67 20 74 68 65 | 20 4f 53 20 47 54 5f 53 |sing the| OS GT_S|
|00000b80| 65 74 47 61 64 67 65 74 | 41 74 74 72 73 41 5f 29 |etGadget|AttrsA_)|
|00000b90| 20 64 69 64 20 6e 6f 74 | 20 77 6f 72 6b 2e 00 3b | did not| work..;|
|00000ba0| 20 20 20 20 20 54 68 69 | 73 20 77 61 73 20 62 65 | Thi|s was be|
|00000bb0| 63 61 75 73 65 20 74 68 | 65 20 72 65 61 6c 20 67 |cause th|e real g|
|00000bc0| 61 64 67 65 74 20 74 6f | 20 75 73 65 20 69 73 20 |adget to| use is |
|00000bd0| 74 68 65 20 6c 61 73 74 | 20 6f 6e 65 20 69 6e 20 |the last| one in |
|00000be0| 74 68 65 20 6c 69 73 74 | 2c 00 3b 20 20 20 20 20 |the list|,.; |
|00000bf0| 77 68 69 63 68 20 69 73 | 20 77 68 61 74 20 74 68 |which is| what th|
|00000c00| 65 20 75 70 64 61 74 65 | 20 66 72 6f 6d 20 31 35 |e update| from 15|
|00000c10| 2f 38 2f 30 30 20 64 69 | 64 2e 20 48 6f 77 65 76 |/8/00 di|d. Howev|
|00000c20| 65 72 2c 20 73 69 6e 63 | 65 20 74 68 65 00 3b 20 |er, sinc|e the.; |
|00000c30| 20 20 20 20 62 65 68 61 | 76 69 6f 75 72 20 6f 66 | beha|viour of|
|00000c40| 20 47 54 47 61 64 50 74 | 72 20 69 73 20 6e 6f 77 | GTGadPt|r is now|
|00000c50| 20 64 69 66 66 65 72 65 | 6e 74 2c 20 49 20 68 61 | differe|nt, I ha|
|00000c60| 76 65 20 64 65 63 69 64 | 65 64 20 74 6f 20 63 68 |ve decid|ed to ch|
|00000c70| 61 6e 67 65 00 3b 20 20 | 20 20 20 69 74 20 62 61 |ange.; | it ba|
|00000c80| 63 6b 20 74 6f 20 66 69 | 6e 64 69 6e 67 20 74 68 |ck to fi|nding th|
|00000c90| 65 20 66 69 72 73 74 20 | 67 61 64 67 65 74 2e 20 |e first |gadget. |
|00000ca0| 48 4f 57 45 56 45 52 2c | 20 74 68 65 72 65 20 69 |HOWEVER,| there i|
|00000cb0| 73 20 6e 6f 77 20 61 6e | 20 6f 70 74 69 6f 6e 61 |s now an| optiona|
|00000cc0| 6c 00 3b 20 20 20 20 20 | 6f 70 74 69 6f 6e 20 66 |l.; |option f|
|00000cd0| 6f 72 20 74 68 65 20 47 | 54 47 61 64 50 74 72 20 |or the G|TGadPtr |
|00000ce0| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 72 65 74 75 72 |command |to retur|
|00000cf0| 6e 20 74 68 65 20 6c 61 | 73 74 20 67 61 64 67 65 |n the la|st gadge|
|00000d00| 74 20 77 69 74 68 20 74 | 68 65 00 3b 20 20 20 20 |t with t|he.; |
|00000d10| 20 72 65 71 75 69 72 65 | 64 20 49 44 2c 20 74 68 | require|d ID, th|
|00000d20| 75 73 20 61 6c 6c 6f 77 | 69 6e 67 20 79 6f 75 20 |us allow|ing you |
|00000d30| 74 68 65 20 62 65 73 74 | 20 6f 66 20 62 6f 74 68 |the best| of both|
|00000d40| 20 77 6f 72 6c 64 73 2e | 00 3b 20 20 20 2a 20 41 | worlds.|.; * A|
|00000d50| 64 64 65 64 20 47 54 4e | 65 77 4c 6f 6f 6b 50 72 |dded GTN|ewLookPr|
|00000d60| 6f 70 00 3b 20 20 20 2a | 20 42 75 6d 70 65 64 20 |op.; *| Bumped |
|00000d70| 64 61 74 65 20 69 6e 20 | 47 54 4c 69 73 74 20 68 |date in |GTList h|
|00000d80| 65 6c 70 20 73 74 72 69 | 6e 67 00 3b 20 20 20 2a |elp stri|ng.; *|
|00000d90| 20 57 6f 75 6c 64 20 6c | 69 6b 65 20 74 6f 20 6d | Would l|ike to m|
|00000da0| 61 6b 65 20 61 6c 6c 20 | 74 68 65 20 67 61 64 67 |ake all |the gadg|
|00000db0| 65 74 20 63 72 65 61 74 | 69 6f 6e 20 72 6f 75 74 |et creat|ion rout|
|00000dc0| 69 6e 65 73 20 63 6f 6d | 6d 61 6e 64 73 00 3b 20 |ines com|mands.; |
|00000dd0| 20 20 20 20 77 68 69 63 | 68 20 72 65 74 75 72 6e | whic|h return|
|00000de0| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 74 68 | a point|er to th|
|00000df0| 65 20 67 61 64 67 65 74 | 20 63 72 65 61 74 65 64 |e gadget| created|
|00000e00| 00 00 3b 20 32 36 74 68 | 20 4e 6f 76 65 6d 62 65 |..; 26th| Novembe|
|00000e10| 72 20 32 30 30 30 20 28 | 44 61 76 69 64 20 4d 63 |r 2000 (|David Mc|
|00000e20| 4d 69 6e 6e 29 00 3b 20 | 20 20 2a 20 41 64 64 65 |Minn).; | * Adde|
|00000e30| 64 20 6f 70 74 69 6f 6e | 20 66 6f 72 20 47 54 42 |d option| for GTB|
|00000e40| 65 76 65 6c 42 6f 78 20 | 74 6f 20 73 70 65 63 69 |evelBox |to speci|
|00000e50| 66 79 20 74 68 65 20 66 | 72 61 6d 65 20 74 79 70 |fy the f|rame typ|
|00000e60| 65 20 28 4f 53 33 2b 21 | 29 00 3b 20 20 20 2a 20 |e (OS3+!|).; * |
|00000e70| 46 69 78 65 64 20 74 68 | 65 20 61 62 6f 76 65 20 |Fixed th|e above |
|00000e80| 6f 70 74 69 6f 6e 20 3a | 28 00 00 3b 20 32 38 74 |option :|(..; 28t|
|00000e90| 68 20 4e 6f 76 65 6d 62 | 65 72 20 32 30 30 30 20 |h Novemb|er 2000 |
|00000ea0| 28 44 61 76 69 64 20 4d | 63 4d 69 6e 6e 29 00 3b |(David M|cMinn).;|
|00000eb0| 20 20 20 2a 20 46 69 78 | 65 64 20 47 54 42 65 76 | * Fix|ed GTBev|
|00000ec0| 65 6c 42 6f 78 20 77 68 | 65 6e 20 75 73 69 6e 67 |elBox wh|en using|
|00000ed0| 20 64 65 62 75 67 67 65 | 72 2c 20 77 61 73 20 63 | debugge|r, was c|
|00000ee0| 68 65 63 6b 69 6e 67 20 | 66 6f 72 20 65 72 72 6f |hecking |for erro|
|00000ef0| 72 73 20 66 72 6f 6d 20 | 74 68 65 20 77 72 6f 6e |rs from |the wron|
|00000f00| 67 20 61 64 64 72 65 73 | 73 20 72 65 67 69 73 74 |g addres|s regist|
|00000f10| 65 72 00 00 3b 20 31 39 | 74 68 20 46 65 62 72 75 |er..; 19|th Febru|
|00000f20| 61 72 79 20 32 30 30 31 | 20 28 44 61 76 69 64 20 |ary 2001| (David |
|00000f30| 4d 63 4d 69 6e 6e 29 00 | 3b 20 20 20 2a 20 41 64 |McMinn).|; * Ad|
|00000f40| 64 65 64 20 47 54 4c 69 | 73 74 41 64 64 72 65 73 |ded GTLi|stAddres|
|00000f50| 73 20 63 6f 6d 6d 61 6e | 64 20 28 67 65 74 73 20 |s comman|d (gets |
|00000f60| 61 64 64 72 65 73 73 20 | 6f 66 20 68 65 61 64 20 |address |of head |
|00000f70| 6f 66 20 4c 69 73 74 20 | 61 72 72 61 79 29 00 00 |of List |array)..|
|00000f80| 3b 20 37 74 68 20 44 65 | 63 65 6d 62 65 72 20 32 |; 7th De|cember 2|
|00000f90| 30 30 31 20 28 44 61 76 | 69 64 20 4d 63 4d 69 6e |001 (Dav|id McMin|
|00000fa0| 6e 29 00 3b 20 20 20 2a | 20 41 64 64 65 64 20 47 |n).; *| Added G|
|00000fb0| 54 55 73 65 72 44 61 74 | 61 20 63 6f 6d 6d 61 6e |TUserDat|a comman|
|00000fc0| 64 00 00 3b 20 32 32 6e | 64 20 44 65 63 65 6d 62 |d..; 22n|d Decemb|
|00000fd0| 65 72 20 32 30 30 31 20 | 28 44 61 76 69 64 20 4d |er 2001 |(David M|
|00000fe0| 63 4d 69 6e 6e 29 00 3b | 20 20 20 2a 20 47 61 64 |cMinn).;| * Gad|
|00000ff0| 67 65 74 20 70 6f 69 6e | 74 65 72 73 20 73 74 6f |get poin|ters sto|
|00001000| 72 65 64 20 69 6e 20 69 | 6e 74 65 72 6e 61 6c 20 |red in i|nternal |
|00001010| 6c 69 73 74 20 66 6f 72 | 20 63 6f 72 72 65 63 74 |list for| correct|
|00001020| 20 47 54 47 61 64 50 74 | 72 2c 20 61 6e 64 20 72 | GTGadPt|r, and r|
|00001030| 65 6c 61 74 65 64 20 63 | 6f 6d 6d 61 6e 64 73 00 |elated c|ommands.|
|00001040| 3b 20 20 20 2a 20 41 6c | 6c 20 67 61 64 67 65 74 |; * Al|l gadget|
|00001050| 20 63 72 65 61 74 69 6f | 6e 20 63 6f 6d 6d 61 6e | creatio|n comman|
|00001060| 64 73 20 72 65 74 75 72 | 6e 20 70 6f 69 6e 74 65 |ds retur|n pointe|
|00001070| 72 20 74 6f 20 63 72 65 | 61 74 65 64 20 67 61 64 |r to cre|ated gad|
|00001080| 67 65 74 00 3b 20 20 20 | 2a 20 54 68 69 72 64 20 |get.; |* Third |
|00001090| 70 61 72 61 6d 65 74 65 | 72 20 6f 66 20 47 54 47 |paramete|r of GTG|
|000010a0| 61 64 50 74 72 20 69 67 | 6e 6f 72 65 64 20 28 62 |adPtr ig|nored (b|
|000010b0| 75 74 20 6c 65 66 74 20 | 69 6e 20 66 6f 72 20 63 |ut left |in for c|
|000010c0| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 29 00 00 3b |ompatibi|lity)..;|
|000010d0| 20 32 39 74 68 20 44 65 | 63 65 6d 62 65 72 20 32 | 29th De|cember 2|
|000010e0| 30 30 31 20 28 44 61 76 | 69 64 20 4d 63 4d 69 6e |001 (Dav|id McMin|
|000010f0| 6e 29 00 3b 20 20 20 2a | 20 4d 65 6d 6f 72 79 20 |n).; *| Memory |
|00001100| 66 6f 72 20 47 54 4d 58 | 20 61 6e 64 20 47 54 43 |for GTMX| and GTC|
|00001110| 79 63 6c 65 20 63 6f 6d | 6d 61 6e 64 73 20 73 74 |ycle com|mands st|
|00001120| 6f 72 65 64 20 69 6e 20 | 73 61 6d 65 20 69 6e 74 |ored in |same int|
|00001130| 65 72 6e 61 6c 20 6c 69 | 73 74 20 61 6e 64 20 66 |ernal li|st and f|
|00001140| 72 65 65 64 20 6f 6e 20 | 46 72 65 65 20 47 54 4c |reed on |Free GTL|
|00001150| 69 73 74 2f 47 54 46 72 | 65 65 47 61 64 67 65 74 |ist/GTFr|eeGadget|
|00001160| 00 3b 20 20 20 2a 20 47 | 54 54 65 78 74 20 67 61 |.; * G|TText ga|
|00001170| 64 67 65 74 73 20 64 6f | 20 6e 6f 74 20 61 6c 6c |dgets do| not all|
|00001180| 6f 63 61 74 65 20 6e 65 | 77 20 73 74 72 69 6e 67 |ocate ne|w string|
|00001190| 00 3b 20 20 20 2a 20 41 | 6c 6c 20 67 61 64 67 65 |.; * A|ll gadge|
|000011a0| 74 73 20 6c 6f 73 65 20 | 6d 65 6d 6f 72 79 20 75 |ts lose |memory u|
|000011b0| 6e 74 69 6c 20 70 72 6f | 67 72 61 6d 20 65 78 69 |ntil pro|gram exi|
|000011c0| 74 20 66 6f 72 20 74 68 | 65 69 72 20 54 65 78 74 |t for th|eir Text|
|000011d0| 20 2d 20 6e 65 65 64 20 | 74 6f 20 66 69 78 20 74 | - need |to fix t|
|000011e0| 68 61 74 00 00 3b 20 32 | 39 74 68 20 4a 61 6e 75 |hat..; 2|9th Janu|
|000011f0| 61 72 79 20 32 30 30 32 | 20 28 44 61 76 69 64 20 |ary 2002| (David |
|00001200| 4d 63 4d 69 6e 6e 29 00 | 3b 20 20 20 2a 20 47 54 |McMinn).|; * GT|
|00001210| 55 6e 64 65 72 73 63 6f | 72 65 20 63 6f 6d 6d 61 |Undersco|re comma|
|00001220| 6e 64 20 61 64 64 65 64 | 00 3b 20 20 20 2a 20 47 |nd added|.; * G|
|00001230| 54 43 68 61 6e 67 65 43 | 79 63 6c 65 20 63 6f 6d |TChangeC|ycle com|
|00001240| 6d 61 6e 64 20 61 64 64 | 65 64 00 3b 20 20 20 2a |mand add|ed.; *|
|00001250| 20 41 6c 6c 20 67 61 64 | 67 65 74 20 6d 65 6d 6f | All gad|get memo|
|00001260| 72 79 20 66 72 65 65 64 | 20 28 69 6e 63 6c 75 64 |ry freed| (includ|
|00001270| 69 6e 67 20 74 65 78 74 | 29 20 77 68 65 6e 20 6e |ing text|) when n|
|00001280| 6f 74 20 72 65 71 75 69 | 72 65 64 20 61 6e 79 20 |ot requi|red any |
|00001290| 6d 6f 72 65 00 3b 20 20 | 20 2a 20 47 54 47 5a 5a |more.; | * GTGZZ|
|000012a0| 50 6f 73 69 74 69 6f 6e | 20 6e 6f 77 20 68 61 73 |Position| now has|
|000012b0| 20 61 6e 20 61 66 66 65 | 63 74 20 6f 6e 20 47 54 | an affe|ct on GT|
|000012c0| 42 65 76 65 6c 42 6f 78 | 65 73 00 3b 20 20 20 2a |BevelBox|es.; *|
|000012d0| 20 47 54 42 65 76 65 6c | 42 6f 78 20 77 69 6c 6c | GTBevel|Box will|
|000012e0| 20 6e 6f 74 20 63 72 61 | 73 68 20 69 66 20 47 54 | not cra|sh if GT|
|000012f0| 4c 69 73 74 20 6e 6f 74 | 20 61 74 74 61 63 68 65 |List not| attache|
|00001300| 64 20 74 6f 20 61 20 77 | 69 6e 64 6f 77 20 61 6e |d to a w|indow an|
|00001310| 64 20 64 65 62 75 67 67 | 65 72 20 69 73 20 6f 66 |d debugg|er is of|
|00001320| 66 00 00 3b 20 33 30 74 | 68 20 4a 61 6e 75 61 72 |f..; 30t|h Januar|
|00001330| 79 20 32 30 30 32 20 28 | 44 61 76 69 64 20 4d 63 |y 2002 (|David Mc|
|00001340| 4d 69 6e 6e 29 00 3b 20 | 20 20 2a 20 47 54 47 65 |Minn).; | * GTGe|
|00001350| 74 53 74 72 69 6e 67 20 | 72 65 77 72 69 74 74 65 |tString |rewritte|
|00001360| 6e 20 74 6f 20 75 73 65 | 20 47 54 5f 47 65 74 47 |n to use| GT_GetG|
|00001370| 61 64 67 65 74 41 74 74 | 72 73 41 5f 20 6f 6e 20 |adgetAtt|rsA_ on |
|00001380| 4f 53 33 2b 20 6d 61 63 | 68 69 6e 65 73 2e 00 3b |OS3+ mac|hines..;|
|00001390| 20 20 20 2a 20 47 54 47 | 65 74 49 6e 74 65 67 65 | * GTG|etIntege|
|000013a0| 72 20 72 65 77 72 69 74 | 74 65 6e 20 61 73 20 61 |r rewrit|ten as a|
|000013b0| 62 6f 76 65 20 28 61 73 | 73 75 6d 65 73 20 2a 47 |bove (as|sumes *G|
|000013c0| 61 64 67 65 74 5c 53 70 | 65 63 69 61 6c 49 6e 66 |adget\Sp|ecialInf|
|000013d0| 6f 3d 30 20 66 6f 72 20 | 47 54 4e 75 6d 62 65 72 |o=0 for |GTNumber|
|000013e0| 73 29 00 3b 20 20 20 20 | 20 61 6e 64 20 6e 6f 77 |s).; | and now|
|000013f0| 20 68 61 73 20 74 68 65 | 20 62 6f 6e 75 73 20 6f | has the| bonus o|
|00001400| 66 20 77 6f 72 6b 69 6e | 67 20 66 6f 72 20 47 54 |f workin|g for GT|
|00001410| 4e 75 6d 62 65 72 20 67 | 61 64 67 65 74 73 2e 20 |Number g|adgets. |
|00001420| 53 74 69 6c 6c 20 75 73 | 65 73 20 74 68 65 20 6f |Still us|es the o|
|00001430| 6c 64 00 3b 20 20 20 20 | 20 63 6f 64 65 20 66 6f |ld.; | code fo|
|00001440| 72 20 70 72 65 2d 56 33 | 39 20 6d 61 63 68 69 6e |r pre-V3|9 machin|
|00001450| 65 73 2c 20 73 6f 20 74 | 68 61 74 20 77 6f 6e 27 |es, so t|hat won'|
|00001460| 74 20 77 6f 72 6b 20 77 | 69 74 68 20 47 54 4e 75 |t work w|ith GTNu|
|00001470| 6d 62 65 72 73 2e 00 3b | 20 20 20 2a 20 46 69 78 |mbers..;| * Fix|
|00001480| 65 64 20 65 6e 66 6f 72 | 63 65 72 20 68 69 74 20 |ed enfor|cer hit |
|00001490| 69 6e 20 47 54 47 65 74 | 49 6e 74 65 67 65 72 00 |in GTGet|Integer.|
|000014a0| 3b 20 20 20 2a 20 47 54 | 42 65 76 65 6c 42 6f 78 |; * GT|BevelBox|
|000014b0| 20 63 68 65 63 6b 73 20 | 66 6f 72 20 47 54 4c 69 | checks |for GTLi|
|000014c0| 73 74 20 6e 6f 74 20 62 | 65 69 6e 67 20 61 74 74 |st not b|eing att|
|000014d0| 61 63 68 65 64 20 74 6f | 20 77 69 6e 64 6f 77 20 |ached to| window |
|000014e0| 61 6e 64 20 65 78 69 74 | 73 00 3b 20 20 20 20 20 |and exit|s.; |
|000014f0| 28 6e 6f 20 6d 6f 72 65 | 20 63 72 61 73 68 69 6e |(no more| crashin|
|00001500| 67 20 77 68 65 6e 20 64 | 65 62 75 67 67 65 72 20 |g when d|ebugger |
|00001510| 69 73 20 74 75 72 6e 65 | 64 20 6f 66 66 29 00 3b |is turne|d off).;|
|00001520| 20 20 20 2a 20 47 54 47 | 65 74 41 74 74 72 73 20 | * GTG|etAttrs |
|00001530| 71 75 69 74 73 20 77 69 | 74 68 6f 75 74 20 63 72 |quits wi|thout cr|
|00001540| 61 73 68 69 6e 67 20 6f | 6e 20 70 72 65 2d 76 33 |ashing o|n pre-v3|
|00001550| 39 20 6d 61 63 68 69 6e | 65 73 00 00 3b 20 31 73 |9 machin|es..; 1s|
|00001560| 74 20 46 65 62 72 75 61 | 72 79 20 32 30 30 32 20 |t Februa|ry 2002 |
|00001570| 28 44 61 76 69 64 20 4d | 63 4d 69 6e 6e 29 00 3b |(David M|cMinn).;|
|00001580| 20 20 20 2a 20 47 54 44 | 69 73 61 62 6c 65 20 61 | * GTD|isable a|
|00001590| 6e 64 20 47 54 45 6e 61 | 62 6c 65 20 6e 6f 77 20 |nd GTEna|ble now |
|000015a0| 75 73 65 20 47 54 5f 53 | 65 74 47 61 64 67 65 74 |use GT_S|etGadget|
|000015b0| 41 74 74 72 73 28 29 20 | 74 6f 20 63 68 61 6e 67 |Attrs() |to chang|
|000015c0| 65 20 74 68 65 20 73 74 | 61 74 65 20 6f 66 20 74 |e the st|ate of t|
|000015d0| 68 65 00 3b 20 20 20 20 | 20 67 61 64 67 65 74 2e |he.; | gadget.|
|000015e0| 20 4d 65 61 6e 73 20 74 | 68 65 20 63 6f 64 65 20 | Means t|he code |
|000015f0| 69 73 20 63 6c 65 61 6e | 65 72 20 61 6e 64 20 79 |is clean|er and y|
|00001600| 6f 75 20 64 6f 20 6e 6f | 74 20 6e 65 65 64 20 74 |ou do no|t need t|
|00001610| 6f 20 6d 61 6e 75 61 6c | 6c 79 20 72 65 64 72 61 |o manual|ly redra|
|00001620| 77 20 74 68 65 00 3b 20 | 20 20 20 20 67 61 64 67 |w the.; | gadg|
|00001630| 65 74 20 61 66 74 65 72 | 20 63 61 6c 6c 69 6e 67 |et after| calling|
|00001640| 20 74 68 6f 73 65 20 63 | 6f 6d 6d 61 6e 64 73 00 | those c|ommands.|
|00001650| 3b 20 20 20 2a 20 47 54 | 54 6f 67 67 6c 65 20 77 |; * GT|Toggle w|
|00001660| 69 6c 6c 20 6e 6f 77 20 | 61 75 74 6f 6d 61 74 69 |ill now |automati|
|00001670| 63 61 6c 6c 79 20 72 65 | 64 72 61 77 20 74 68 65 |cally re|draw the|
|00001680| 20 67 61 64 67 65 74 20 | 66 6f 72 20 79 6f 75 00 | gadget |for you.|
|00001690| 3b 20 20 20 2a 20 47 54 | 45 76 65 6e 74 53 65 63 |; * GT|EventSec|
|000016a0| 6f 6e 64 73 20 61 6e 64 | 20 47 54 45 76 65 6e 74 |onds and| GTEvent|
|000016b0| 4d 69 63 72 6f 73 20 63 | 6f 6d 6d 61 6e 64 73 20 |Micros c|ommands |
|000016c0| 61 64 64 65 64 20 28 61 | 6c 73 6f 20 63 68 61 6e |added (a|lso chan|
|000016d0| 67 65 73 20 74 6f 20 74 | 68 65 20 70 72 65 68 61 |ges to t|he preha|
|000016e0| 6e 64 6c 65 72 20 72 6f | 75 74 69 6e 65 29 00 3b |ndler ro|utine).;|
|000016f0| 20 20 20 2a 20 66 72 65 | 65 63 6f 6e 74 65 78 74 | * fre|econtext|
|00001700| 20 75 70 64 61 74 65 64 | 20 74 6f 20 63 6c 65 61 | updated| to clea|
|00001710| 72 20 74 68 65 20 73 68 | 61 70 65 20 67 61 64 67 |r the sh|ape gadg|
|00001720| 65 74 73 20 70 72 6f 70 | 65 72 6c 79 20 61 6e 64 |ets prop|erly and|
|00001730| 20 6e 6f 74 20 66 72 65 | 65 20 74 68 65 6d 20 28 | not fre|e them (|
|00001740| 77 68 69 63 68 20 69 73 | 20 64 6f 6e 65 20 6c 61 |which is| done la|
|00001750| 74 65 72 29 00 00 00 23 | 6d 79 67 61 64 74 6f 6f |ter)...#|mygadtoo|
|00001760| 6c 73 6c 69 62 20 3d 20 | 31 34 31 00 23 69 6e 74 |lslib = |141.#int|
|00001770| 75 69 74 69 6f 6e 6c 69 | 62 20 3d 20 32 35 35 00 |uitionli|b = 255.|
|00001780| 23 77 69 6e 64 6f 77 73 | 6c 69 62 20 3d 20 31 33 |#windows|lib = 13|
|00001790| 38 00 00 23 67 6c 6f 62 | 61 6c 61 6c 6c 6f 63 20 |8..#glob|alalloc |
|000017a0| 3d 20 24 63 30 30 32 20 | 20 3b 20 74 6f 6b 65 6e |= $c002 | ; token|
|000017b0| 20 66 6f 72 20 61 6c 6c | 6f 63 61 74 69 6e 67 20 | for all|ocating |
|000017c0| 6d 65 6d 6f 72 79 20 28 | 64 30 20 3d 20 73 69 7a |memory (|d0 = siz|
|000017d0| 65 2c 20 64 31 20 3d 20 | 6d 65 6d 74 79 70 65 20 |e, d1 = |memtype |
|000017e0| 3a 3a 20 64 30 20 3d 20 | 70 6f 69 6e 74 65 72 20 |:: d0 = |pointer |
|000017f0| 74 6f 20 6d 65 6d 29 00 | 23 67 6c 6f 62 61 6c 66 |to mem).|#globalf|
|00001800| 72 65 65 20 20 3d 20 24 | 63 30 30 33 20 20 3b 20 |ree = $|c003 ; |
|00001810| 74 6f 6b 65 6e 20 66 6f | 72 20 66 72 65 65 69 6e |token fo|r freein|
|00001820| 67 20 6d 65 6d 6f 72 79 | 20 28 61 31 20 3d 20 70 |g memory| (a1 = p|
|00001830| 6f 69 6e 74 65 72 20 74 | 6f 20 6d 65 6d 2c 20 64 |ointer t|o mem, d|
|00001840| 30 20 3d 20 73 69 7a 65 | 29 00 23 73 74 72 69 6e |0 = size|).#strin|
|00001850| 67 61 6c 6c 6f 63 20 3d | 20 24 63 66 30 31 20 20 |galloc =| $cf01 |
|00001860| 3b 20 74 6f 6b 65 6e 20 | 66 6f 72 20 61 6c 6c 6f |; token |for allo|
|00001870| 63 61 74 69 6e 67 20 2b | 20 63 6f 70 79 69 6e 67 |cating +| copying|
|00001880| 20 61 20 6e 65 77 20 73 | 74 72 69 6e 67 20 28 64 | a new s|tring (d|
|00001890| 30 20 3d 20 70 6f 69 6e | 74 65 72 20 74 6f 20 73 |0 = poin|ter to s|
|000018a0| 74 72 69 6e 67 20 74 6f | 20 63 6f 70 79 2c 20 64 |tring to| copy, d|
|000018b0| 31 20 3d 20 6c 65 6e 67 | 74 68 20 6f 66 20 73 74 |1 = leng|th of st|
|000018c0| 72 69 6e 67 00 20 20 20 | 20 20 20 20 20 20 20 20 |ring. | |
|000018d0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 3a 3a 20 | | ; :: |
|000018e0| 64 30 20 3d 20 6e 65 77 | 20 50 6f 69 6e 74 65 72 |d0 = new| Pointer|
|000018f0| 29 00 23 73 74 72 69 6e | 67 66 72 65 65 20 20 3d |).#strin|gfree =|
|00001900| 20 24 63 66 30 32 20 20 | 3b 20 74 6f 6b 65 6e 20 | $cf02 |; token |
|00001910| 66 6f 72 20 66 72 65 65 | 69 6e 67 20 61 20 73 74 |for free|ing a st|
|00001920| 72 69 6e 67 20 28 64 30 | 20 3d 20 70 6f 69 6e 74 |ring (d0| = point|
|00001930| 65 72 20 74 6f 20 73 74 | 72 69 6e 67 29 00 00 00 |er to st|ring)...|
|00001940| 23 5f 43 72 65 61 74 65 | 47 61 64 67 65 74 3d 2d |#_Create|Gadget=-|
|00001950| 33 30 20 20 20 20 20 3b | 28 6b 69 6e 64 2c 67 61 |30 ;|(kind,ga|
|00001960| 64 2c 6e 67 2c 74 61 67 | 6c 69 73 74 29 28 64 30 |d,ng,tag|list)(d0|
|00001970| 2f 61 30 2f 61 31 2f 61 | 32 29 00 23 5f 46 72 65 |/a0/a1/a|2).#_Fre|
|00001980| 65 47 61 64 67 65 74 73 | 3d 2d 33 36 20 20 20 20 |eGadgets|=-36 |
|00001990| 20 20 3b 28 67 61 64 29 | 28 61 30 29 00 23 5f 53 | ;(gad)|(a0).#_S|
|000019a0| 65 74 47 61 64 67 65 74 | 41 74 74 72 73 3d 2d 34 |etGadget|Attrs=-4|
|000019b0| 32 20 20 20 3b 28 67 61 | 64 2c 77 69 6e 2c 72 65 |2 ;(ga|d,win,re|
|000019c0| 71 2c 74 61 67 6c 69 73 | 74 29 28 61 30 2f 61 31 |q,taglis|t)(a0/a1|
|000019d0| 2f 61 32 2f 61 33 29 00 | 23 5f 47 65 74 49 4d 73 |/a2/a3).|#_GetIMs|
|000019e0| 67 3d 2d 37 32 20 20 20 | 20 20 20 20 20 20 20 3b |g=-72 | ;|
|000019f0| 28 69 70 6f 72 74 29 28 | 61 30 29 00 23 5f 52 65 |(iport)(|a0).#_Re|
|00001a00| 70 6c 79 49 4d 73 67 3d | 2d 37 38 20 20 20 20 20 |plyIMsg=|-78 |
|00001a10| 20 20 20 3b 28 69 6d 73 | 67 29 28 61 31 29 00 23 | ;(ims|g)(a1).#|
|00001a20| 5f 52 65 66 72 65 73 68 | 57 69 6e 64 6f 77 3d 2d |_Refresh|Window=-|
|00001a30| 38 34 20 20 20 20 3b 28 | 77 69 6e 2c 72 65 71 29 |84 ;(|win,req)|
|00001a40| 28 61 30 2f 61 31 29 00 | 23 5f 42 65 67 69 6e 52 |(a0/a1).|#_BeginR|
|00001a50| 65 66 72 65 73 68 3d 2d | 39 30 20 20 20 20 20 3b |efresh=-|90 ;|
|00001a60| 28 77 69 6e 29 28 61 30 | 29 00 23 5f 45 6e 64 52 |(win)(a0|).#_EndR|
|00001a70| 65 66 72 65 73 68 3d 2d | 39 36 20 20 20 20 20 20 |efresh=-|96 |
|00001a80| 20 3b 28 77 69 6e 2c 63 | 6f 6d 70 6c 65 74 65 29 | ;(win,c|omplete)|
|00001a90| 28 61 30 2c 64 30 29 00 | 23 5f 46 69 6c 74 65 72 |(a0,d0).|#_Filter|
|00001aa0| 49 4d 73 67 3d 2d 31 30 | 32 20 20 20 20 20 20 3b |IMsg=-10|2 ;|
|00001ab0| 28 69 6d 73 67 29 28 61 | 31 29 00 23 5f 50 6f 73 |(imsg)(a|1).#_Pos|
|00001ac0| 74 46 69 6c 74 65 72 49 | 4d 73 67 3d 2d 31 30 38 |tFilterI|Msg=-108|
|00001ad0| 20 20 3b 28 69 6d 73 67 | 29 28 61 31 29 00 23 5f | ;(imsg|)(a1).#_|
|00001ae0| 43 72 65 61 74 65 43 6f | 6e 74 65 78 74 3d 2d 31 |CreateCo|ntext=-1|
|00001af0| 31 34 20 20 20 3b 28 67 | 6c 69 73 74 70 74 72 29 |14 ;(g|listptr)|
|00001b00| 28 61 30 29 00 23 5f 44 | 72 61 77 42 65 76 65 6c |(a0).#_D|rawBevel|
|00001b10| 42 6f 78 3d 2d 31 32 30 | 20 20 20 20 3b 28 72 70 |Box=-120| ;(rp|
|00001b20| 6f 72 74 2c 6c 65 66 74 | 2c 74 6f 70 2c 77 69 64 |ort,left|,top,wid|
|00001b30| 74 68 2c 68 65 69 67 68 | 74 2c 74 61 67 6c 69 73 |th,heigh|t,taglis|
|00001b40| 74 29 28 61 30 2c 64 30 | 2f 64 31 2f 64 32 2f 64 |t)(a0,d0|/d1/d2/d|
|00001b50| 33 2f 61 31 29 00 23 5f | 47 65 74 56 69 73 75 61 |3/a1).#_|GetVisua|
|00001b60| 6c 49 6e 66 6f 3d 2d 31 | 32 36 20 20 20 3b 28 73 |lInfo=-1|26 ;(s|
|00001b70| 63 72 65 65 6e 2c 74 61 | 67 6c 69 73 74 29 28 61 |creen,ta|glist)(a|
|00001b80| 30 2f 61 31 29 00 23 5f | 46 72 65 65 56 69 73 75 |0/a1).#_|FreeVisu|
|00001b90| 61 6c 49 6e 66 6f 3d 2d | 31 33 32 20 20 3b 28 76 |alInfo=-|132 ;(v|
|00001ba0| 69 29 28 61 30 29 00 23 | 5f 47 65 74 47 61 64 67 |i)(a0).#|_GetGadg|
|00001bb0| 65 74 41 74 74 72 73 3d | 2d 31 37 34 20 20 20 3b |etAttrs=|-174 ;|
|00001bc0| 28 67 61 64 2c 77 69 6e | 2c 72 65 71 2c 74 61 67 |(gad,win|,req,tag|
|00001bd0| 6c 69 73 74 29 28 61 30 | 2f 61 31 2f 61 32 2f 61 |list)(a0|/a1/a2/a|
|00001be0| 33 29 00 00 00 3b 20 69 | 6e 74 75 69 74 69 6f 6e |3)...; i|ntuition|
|00001bf0| 2e 6c 69 62 72 61 72 79 | 00 23 5f 4c 56 4f 41 64 |.library|.#_LVOAd|
|00001c00| 64 47 61 64 67 65 74 20 | 20 20 20 20 20 3d 20 2d |dGadget | = -|
|00001c10| 34 32 00 23 5f 4c 56 4f | 52 65 6d 6f 76 65 47 61 |42.#_LVO|RemoveGa|
|00001c20| 64 67 65 74 20 20 20 3d | 20 2d 32 32 38 00 23 5f |dget =| -228.#_|
|00001c30| 4c 56 4f 52 65 66 72 65 | 73 68 47 4c 69 73 74 20 |LVORefre|shGList |
|00001c40| 20 20 3d 20 2d 34 33 32 | 00 23 5f 4c 56 4f 41 64 | = -432|.#_LVOAd|
|00001c50| 64 47 4c 69 73 74 20 20 | 20 20 20 20 20 3d 20 2d |dGList | = -|
|00001c60| 34 33 38 00 23 5f 4c 56 | 4f 52 65 6d 6f 76 65 47 |438.#_LV|ORemoveG|
|00001c70| 4c 69 73 74 20 20 20 20 | 3d 20 2d 34 34 34 00 23 |List |= -444.#|
|00001c80| 5f 4c 56 4f 41 63 74 69 | 76 61 74 65 47 61 64 67 |_LVOActi|vateGadg|
|00001c90| 65 74 20 3d 20 2d 34 36 | 32 00 00 00 3b 20 65 78 |et = -46|2...; ex|
|00001ca0| 65 63 2e 6c 69 62 72 61 | 72 79 00 23 5f 4c 56 4f |ec.libra|ry.#_LVO|
|00001cb0| 43 6c 6f 73 65 4c 69 62 | 72 61 72 79 20 20 20 3d |CloseLib|rary =|
|00001cc0| 20 2d 34 31 34 00 23 5f | 4c 56 4f 52 61 77 50 75 | -414.#_|LVORawPu|
|00001cd0| 74 43 68 61 72 20 20 20 | 20 20 3d 20 2d 35 31 36 |tChar | = -516|
|00001ce0| 20 20 20 20 20 20 3b 20 | 53 65 6e 64 20 6f 6e 65 | ; |Send one|
|00001cf0| 20 63 68 61 72 61 63 74 | 65 72 20 69 6e 20 64 30 | charact|er in d0|
|00001d00| 3a 37 2d 30 20 74 6f 20 | 74 68 65 20 73 65 72 69 |:7-0 to |the seri|
|00001d10| 61 6c 20 70 6f 72 74 00 | 23 5f 4c 56 4f 52 61 77 |al port.|#_LVORaw|
|00001d20| 44 6f 46 6d 74 20 20 20 | 20 20 20 20 3d 20 2d 35 |DoFmt | = -5|
|00001d30| 32 32 20 20 20 20 20 20 | 3b 20 66 6f 72 6d 61 74 |22 |; format|
|00001d40| 73 20 61 6e 64 20 63 6f | 6d 70 6c 65 74 65 73 20 |s and co|mpletes |
|00001d50| 73 74 72 69 6e 67 20 6c | 69 6b 65 20 70 72 69 6e |string l|ike prin|
|00001d60| 74 66 00 23 5f 4c 56 4f | 4f 70 65 6e 4c 69 62 72 |tf.#_LVO|OpenLibr|
|00001d70| 61 72 79 20 20 20 20 3d | 20 2d 35 35 32 00 23 5f |ary =| -552.#_|
|00001d80| 4c 56 4f 43 6f 70 79 4d | 65 6d 20 20 20 20 20 20 |LVOCopyM|em |
|00001d90| 20 20 3d 20 2d 36 32 34 | 00 00 00 23 44 45 42 55 | = -624|...#DEBU|
|00001da0| 47 20 20 3d 20 31 20 20 | 20 20 20 20 20 20 20 3b |G = 1 | ;|
|00001db0| 20 54 75 72 6e 73 20 6f | 6e 20 28 31 29 20 6f 72 | Turns o|n (1) or|
|00001dc0| 20 6f 66 66 20 28 30 29 | 20 64 65 62 75 67 67 69 | off (0)| debuggi|
|00001dd0| 6e 67 20 6f 75 74 70 75 | 74 20 74 6f 20 74 68 65 |ng outpu|t to the|
|00001de0| 20 73 65 72 69 61 6c 20 | 70 6f 72 74 00 20 20 20 | serial |port. |
|00001df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e00| 20 3b 20 53 68 6f 75 6c | 64 20 62 65 20 73 65 74 | ; Shoul|d be set|
|00001e10| 20 74 6f 20 30 20 66 6f | 72 20 72 65 6c 65 61 73 | to 0 fo|r releas|
|00001e20| 69 6e 67 20 74 68 65 20 | 6c 69 62 21 00 00 23 4f |ing the |lib!..#O|
|00001e30| 4c 44 46 4c 41 47 53 20 | 3d 20 31 20 20 20 20 20 |LDFLAGS |= 1 |
|00001e40| 20 20 3b 20 53 65 74 20 | 74 6f 20 31 20 74 6f 20 | ; Set |to 1 to |
|00001e50| 75 73 65 20 74 68 65 20 | 6f 6c 64 20 42 6c 69 74 |use the |old Blit|
|00001e60| 7a 32 20 73 74 79 6c 65 | 20 6f 66 20 66 6c 61 67 |z2 style| of flag|
|00001e70| 73 20 28 63 6f 6d 62 69 | 6e 65 64 20 62 62 67 74 |s (combi|ned bbgt|
|00001e80| 6c 69 62 20 61 6e 64 20 | 4f 53 20 69 6e 20 6f 6e |lib and |OS in on|
|00001e90| 65 20 70 61 72 61 6d 65 | 74 65 72 29 00 20 20 20 |e parame|ter). |
|00001ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001eb0| 20 3b 20 6f 72 20 30 20 | 74 6f 20 6d 61 6b 65 20 | ; or 0 |to make |
|00001ec0| 74 68 65 20 66 6c 61 67 | 73 20 70 61 72 61 6d 65 |the flag|s parame|
|00001ed0| 74 65 72 20 73 6f 6c 65 | 6c 79 20 66 6f 72 20 74 |ter sole|ly for t|
|00001ee0| 68 65 20 75 73 65 20 6f | 66 20 74 68 65 20 4f 53 |he use o|f the OS|
|00001ef0| 20 66 6c 61 67 73 29 00 | 00 00 21 6c 69 62 68 65 | flags).|..!libhe|
|00001f00| 61 64 65 72 7b 23 6d 79 | 67 61 64 74 6f 6f 6c 73 |ader{#my|gadtools|
|00001f10| 6c 69 62 2c 69 6e 69 74 | 2c 30 2c 66 69 6e 69 74 |lib,init|,0,finit|
|00001f20| 2c 65 72 72 6f 72 73 7d | 00 00 21 64 75 6d 74 6f |,errors}|..!dumto|
|00001f30| 6b 65 7b 22 47 54 4c 69 | 73 74 22 2c 22 41 20 47 |ke{"GTLi|st","A G|
|00001f40| 61 64 54 6f 6f 6c 73 20 | 47 61 64 67 65 74 4c 69 |adTools |GadgetLi|
|00001f50| 73 74 20 28 30 35 2e 30 | 31 2e 32 30 30 32 29 22 |st (05.0|1.2002)"|
|00001f60| 2c 5f 74 6f 6b 65 7d 00 | 00 21 61 63 6f 6d 6d 61 |,_toke}.|.!acomma|
|00001f70| 6e 64 7b 23 6c 6f 6e 67 | 7d 00 21 61 72 67 73 7b |nd{#long|}.!args{|
|00001f80| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|00001f90| 64 2c 23 77 6f 72 64 2c | 23 77 6f 72 64 2c 23 77 |d,#word,|#word,#w|
|00001fa0| 6f 72 64 2c 23 73 74 72 | 69 6e 67 2c 23 6c 6f 6e |ord,#str|ing,#lon|
|00001fb0| 67 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |g}.!libs|{#mygadt|
|00001fc0| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 33 7c 70 64 30 |oolslib,|#ia3|pd0|
|00001fd0| 2c 23 69 6e 74 75 69 66 | 6f 6e 74 6c 69 62 2c 23 |,#intuif|ontlib,#|
|00001fe0| 6c 61 30 2c 23 73 63 72 | 65 65 6e 73 6c 69 62 2c |la0,#scr|eenslib,|
|00001ff0| 23 75 61 31 7d 00 21 73 | 75 62 73 7b 5f 67 74 62 |#ua1}.!s|ubs{_gtb|
|00002000| 75 74 74 6f 6e 6e 6f 75 | 64 2c 30 2c 30 7d 00 21 |uttonnou|d,0,0}.!|
|00002010| 61 72 67 73 7b 23 77 6f | 72 64 2c 23 77 6f 72 64 |args{#wo|rd,#word|
|00002020| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |,#word,#|word,#wo|
|00002030| 72 64 2c 23 77 6f 72 64 | 2c 23 73 74 72 69 6e 67 |rd,#word|,#string|
|00002040| 2c 23 6c 6f 6e 67 2c 23 | 6c 6f 6e 67 7d 00 21 6c |,#long,#|long}.!l|
|00002050| 69 62 73 7b 23 6d 79 67 | 61 64 74 6f 6f 6c 73 6c |ibs{#myg|adtoolsl|
|00002060| 69 62 2c 23 69 61 33 7c | 70 64 30 2c 23 69 6e 74 |ib,#ia3||pd0,#int|
|00002070| 75 69 66 6f 6e 74 6c 69 | 62 2c 23 6c 61 30 2c 23 |uifontli|b,#la0,#|
|00002080| 73 63 72 65 65 6e 73 6c | 69 62 2c 23 75 61 31 7d |screensl|ib,#ua1}|
|00002090| 00 21 73 75 62 73 7b 5f | 67 74 62 75 74 74 6f 6e |.!subs{_|gtbutton|
|000020a0| 2c 30 2c 30 7d 00 21 6e | 61 6d 65 7b 22 47 54 42 |,0,0}.!n|ame{"GTB|
|000020b0| 75 74 74 6f 6e 22 2c 22 | 47 54 4c 69 73 74 23 2c |utton","|GTList#,|
|000020c0| 69 64 2e 77 2c 78 2e 77 | 2c 79 2e 77 2c 77 2e 77 |id.w,x.w|,y.w,w.w|
|000020d0| 2c 68 2e 77 2c 54 65 78 | 74 24 2c 66 6c 61 67 73 |,h.w,Tex|t$,flags|
|000020e0| 2e 6c 5b 2c 55 73 65 72 | 44 61 74 61 2e 6c 5d 22 |.l[,User|Data.l]"|
|000020f0| 7d 00 00 00 21 61 63 6f | 6d 6d 61 6e 64 7b 23 6c |}...!aco|mmand{#l|
|00002100| 6f 6e 67 7d 00 21 61 72 | 67 73 7b 23 77 6f 72 64 |ong}.!ar|gs{#word|
|00002110| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |,#word,#|word,#wo|
|00002120| 72 64 2c 23 77 6f 72 64 | 2c 23 77 6f 72 64 2c 23 |rd,#word|,#word,#|
|00002130| 73 74 72 69 6e 67 2c 23 | 6c 6f 6e 67 7d 00 21 6c |string,#|long}.!l|
|00002140| 69 62 73 7b 23 6d 79 67 | 61 64 74 6f 6f 6c 73 6c |ibs{#myg|adtoolsl|
|00002150| 69 62 2c 23 69 61 33 7c | 70 64 30 2c 23 69 6e 74 |ib,#ia3||pd0,#int|
|00002160| 75 69 66 6f 6e 74 6c 69 | 62 2c 23 6c 61 30 2c 23 |uifontli|b,#la0,#|
|00002170| 73 63 72 65 65 6e 73 6c | 69 62 2c 23 75 61 31 7d |screensl|ib,#ua1}|
|00002180| 00 21 73 75 62 73 7b 5f | 67 74 63 68 65 63 6b 62 |.!subs{_|gtcheckb|
|00002190| 6f 78 2c 30 2c 30 7d 00 | 21 6e 61 6d 65 7b 22 47 |ox,0,0}.|!name{"G|
|000021a0| 54 43 68 65 63 6b 42 6f | 78 22 2c 22 47 54 4c 69 |TCheckBo|x","GTLi|
|000021b0| 73 74 23 2c 69 64 2c 78 | 2c 79 2c 77 2c 68 2c 54 |st#,id,x|,y,w,h,T|
|000021c0| 65 78 74 24 2c 66 6c 61 | 67 73 22 7d 00 00 00 21 |ext$,fla|gs"}...!|
|000021d0| 61 63 6f 6d 6d 61 6e 64 | 7b 23 6c 6f 6e 67 7d 00 |acommand|{#long}.|
|000021e0| 21 61 72 67 73 7b 23 77 | 6f 72 64 2c 23 77 6f 72 |!args{#w|ord,#wor|
|000021f0| 64 2c 23 77 6f 72 64 2c | 23 77 6f 72 64 2c 23 77 |d,#word,|#word,#w|
|00002200| 6f 72 64 2c 23 77 6f 72 | 64 2c 23 73 74 72 69 6e |ord,#wor|d,#strin|
|00002210| 67 2c 23 6c 6f 6e 67 2c | 23 73 74 72 69 6e 67 7d |g,#long,|#string}|
|00002220| 00 21 6c 69 62 73 7b 23 | 6d 79 67 61 64 74 6f 6f |.!libs{#|mygadtoo|
|00002230| 6c 73 6c 69 62 2c 23 69 | 61 33 7c 70 64 30 2c 23 |lslib,#i|a3|pd0,#|
|00002240| 69 6e 74 75 69 66 6f 6e | 74 6c 69 62 2c 23 6c 61 |intuifon|tlib,#la|
|00002250| 30 2c 23 73 63 72 65 65 | 6e 73 6c 69 62 2c 23 75 |0,#scree|nslib,#u|
|00002260| 61 31 7d 00 21 73 75 62 | 73 7b 5f 67 74 63 79 63 |a1}.!sub|s{_gtcyc|
|00002270| 6c 65 32 2c 30 2c 30 7d | 00 21 61 72 67 73 7b 23 |le2,0,0}|.!args{#|
|00002280| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00002290| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |,#word,#|word,#wo|
|000022a0| 72 64 2c 23 73 74 72 69 | 6e 67 2c 23 6c 6f 6e 67 |rd,#stri|ng,#long|
|000022b0| 2c 23 73 74 72 69 6e 67 | 2c 23 77 6f 72 64 7c 23 |,#string|,#word|#|
|000022c0| 70 75 73 68 7d 00 21 6c | 69 62 73 7b 23 6d 79 67 |push}.!l|ibs{#myg|
|000022d0| 61 64 74 6f 6f 6c 73 6c | 69 62 2c 23 69 61 33 7c |adtoolsl|ib,#ia3||
|000022e0| 70 64 30 2c 23 69 6e 74 | 75 69 66 6f 6e 74 6c 69 |pd0,#int|uifontli|
|000022f0| 62 2c 23 6c 61 30 2c 23 | 73 63 72 65 65 6e 73 6c |b,#la0,#|screensl|
|00002300| 69 62 2c 23 75 61 31 7d | 00 21 73 75 62 73 7b 5f |ib,#ua1}|.!subs{_|
|00002310| 67 74 63 79 63 6c 65 2c | 30 2c 30 7d 00 21 6e 61 |gtcycle,|0,0}.!na|
|00002320| 6d 65 7b 22 47 54 43 79 | 63 6c 65 22 2c 22 47 54 |me{"GTCy|cle","GT|
|00002330| 4c 69 73 74 23 2c 69 64 | 2c 78 2c 79 2c 77 2c 68 |List#,id|,x,y,w,h|
|00002340| 2c 54 65 78 74 24 2c 66 | 6c 61 67 73 2c 4f 70 74 |,Text$,f|lags,Opt|
|00002350| 69 6f 6e 73 24 5b 2c 61 | 63 74 69 76 65 5d 22 7d |ions$[,a|ctive]"}|
|00002360| 00 00 00 21 61 63 6f 6d | 6d 61 6e 64 7b 23 6c 6f |...!acom|mand{#lo|
|00002370| 6e 67 7d 00 21 61 72 67 | 73 7b 23 77 6f 72 64 2c |ng}.!arg|s{#word,|
|00002380| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|00002390| 64 2c 23 77 6f 72 64 2c | 23 77 6f 72 64 2c 23 73 |d,#word,|#word,#s|
|000023a0| 74 72 69 6e 67 2c 23 6c | 6f 6e 67 2c 23 6c 6f 6e |tring,#l|ong,#lon|
|000023b0| 67 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |g}.!libs|{#mygadt|
|000023c0| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 33 7c 70 64 30 |oolslib,|#ia3|pd0|
|000023d0| 2c 23 69 6e 74 75 69 66 | 6f 6e 74 6c 69 62 2c 23 |,#intuif|ontlib,#|
|000023e0| 6c 61 30 2c 23 73 63 72 | 65 65 6e 73 6c 69 62 2c |la0,#scr|eenslib,|
|000023f0| 23 75 61 31 7d 00 21 73 | 75 62 73 7b 5f 67 74 69 |#ua1}.!s|ubs{_gti|
|00002400| 6e 74 65 67 65 72 2c 30 | 2c 30 7d 00 21 6e 61 6d |nteger,0|,0}.!nam|
|00002410| 65 7b 22 47 54 49 6e 74 | 65 67 65 72 22 2c 22 47 |e{"GTInt|eger","G|
|00002420| 54 4c 69 73 74 23 2c 69 | 64 2c 78 2c 79 2c 77 2c |TList#,i|d,x,y,w,|
|00002430| 68 2c 54 65 78 74 24 2c | 66 6c 61 67 73 2c 64 65 |h,Text$,|flags,de|
|00002440| 66 61 75 6c 74 22 7d 00 | 00 00 21 61 63 6f 6d 6d |fault"}.|..!acomm|
|00002450| 61 6e 64 7b 23 6c 6f 6e | 67 7d 00 21 61 72 67 73 |and{#lon|g}.!args|
|00002460| 7b 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |{#word,#|word,#wo|
|00002470| 72 64 2c 23 77 6f 72 64 | 2c 23 77 6f 72 64 2c 23 |rd,#word|,#word,#|
|00002480| 77 6f 72 64 2c 23 73 74 | 72 69 6e 67 2c 23 6c 6f |word,#st|ring,#lo|
|00002490| 6e 67 2c 23 61 72 72 61 | 79 7c 23 70 75 73 68 2c |ng,#arra|y|#push,|
|000024a0| 23 77 6f 72 64 7c 70 75 | 73 68 7d 00 21 6c 69 62 |#word|pu|sh}.!lib|
|000024b0| 73 7b 23 6d 79 67 61 64 | 74 6f 6f 6c 73 6c 69 62 |s{#mygad|toolslib|
|000024c0| 2c 23 69 61 33 7c 70 64 | 30 2c 23 69 6e 74 75 69 |,#ia3|pd|0,#intui|
|000024d0| 66 6f 6e 74 6c 69 62 2c | 23 6c 61 30 2c 23 73 63 |fontlib,|#la0,#sc|
|000024e0| 72 65 65 6e 73 6c 69 62 | 2c 23 75 61 31 7d 00 21 |reenslib|,#ua1}.!|
|000024f0| 73 75 62 73 7b 5f 67 74 | 6c 69 73 74 76 69 65 77 |subs{_gt|listview|
|00002500| 31 2c 30 2c 30 7d 00 21 | 61 72 67 73 7b 23 77 6f |1,0,0}.!|args{#wo|
|00002510| 72 64 2c 23 77 6f 72 64 | 2c 23 77 6f 72 64 2c 23 |rd,#word|,#word,#|
|00002520| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00002530| 2c 23 73 74 72 69 6e 67 | 2c 23 6c 6f 6e 67 2c 23 |,#string|,#long,#|
|00002540| 61 72 72 61 79 7c 23 70 | 75 73 68 2c 23 77 6f 72 |array|#p|ush,#wor|
|00002550| 64 7c 70 75 73 68 2c 23 | 77 6f 72 64 7c 70 75 73 |d|push,#|word|pus|
|00002560| 68 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |h}.!libs|{#mygadt|
|00002570| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 33 7c 70 64 30 |oolslib,|#ia3|pd0|
|00002580| 2c 23 69 6e 74 75 69 66 | 6f 6e 74 6c 69 62 2c 23 |,#intuif|ontlib,#|
|00002590| 6c 61 30 2c 23 73 63 72 | 65 65 6e 73 6c 69 62 2c |la0,#scr|eenslib,|
|000025a0| 23 75 61 31 7d 00 21 73 | 75 62 73 7b 5f 67 74 6c |#ua1}.!s|ubs{_gtl|
|000025b0| 69 73 74 76 69 65 77 32 | 2c 30 2c 30 7d 00 21 61 |istview2|,0,0}.!a|
|000025c0| 72 67 73 7b 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |rgs{#wor|d,#word,|
|000025d0| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|000025e0| 64 2c 23 77 6f 72 64 2c | 23 73 74 72 69 6e 67 2c |d,#word,|#string,|
|000025f0| 23 6c 6f 6e 67 2c 23 61 | 72 72 61 79 7c 23 70 75 |#long,#a|rray|#pu|
|00002600| 73 68 7d 00 21 6c 69 62 | 73 7b 23 6d 79 67 61 64 |sh}.!lib|s{#mygad|
|00002610| 74 6f 6f 6c 73 6c 69 62 | 2c 23 69 61 33 7c 70 64 |toolslib|,#ia3|pd|
|00002620| 30 2c 23 69 6e 74 75 69 | 66 6f 6e 74 6c 69 62 2c |0,#intui|fontlib,|
|00002630| 23 6c 61 30 2c 23 73 63 | 72 65 65 6e 73 6c 69 62 |#la0,#sc|reenslib|
|00002640| 2c 23 75 61 31 7d 00 21 | 73 75 62 73 7b 5f 67 74 |,#ua1}.!|subs{_gt|
|00002650| 6c 69 73 74 76 69 65 77 | 2c 30 2c 30 7d 00 21 6e |listview|,0,0}.!n|
|00002660| 61 6d 65 7b 22 47 54 4c | 69 73 74 56 69 65 77 22 |ame{"GTL|istView"|
|00002670| 2c 22 47 54 4c 69 73 74 | 23 2c 69 64 2c 78 2c 79 |,"GTList|#,id,x,y|
|00002680| 2c 77 2c 68 2c 54 65 78 | 74 24 2c 66 6c 61 67 73 |,w,h,Tex|t$,flags|
|00002690| 2c 6c 69 73 74 28 29 5b | 2c 73 65 6c 65 63 74 65 |,list()[|,selecte|
|000026a0| 64 5b 2c 74 6f 70 5d 5d | 22 7d 00 00 00 21 61 63 |d[,top]]|"}...!ac|
|000026b0| 6f 6d 6d 61 6e 64 7b 23 | 6c 6f 6e 67 7d 00 21 61 |ommand{#|long}.!a|
|000026c0| 72 67 73 7b 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |rgs{#wor|d,#word,|
|000026d0| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|000026e0| 64 2c 23 77 6f 72 64 2c | 23 73 74 72 69 6e 67 2c |d,#word,|#string,|
|000026f0| 23 6c 6f 6e 67 2c 23 73 | 74 72 69 6e 67 7d 00 21 |#long,#s|tring}.!|
|00002700| 6c 69 62 73 7b 23 6d 79 | 67 61 64 74 6f 6f 6c 73 |libs{#my|gadtools|
|00002710| 6c 69 62 2c 23 69 61 33 | 7c 70 64 30 2c 23 69 6e |lib,#ia3||pd0,#in|
|00002720| 74 75 69 66 6f 6e 74 6c | 69 62 2c 23 6c 61 30 2c |tuifontl|ib,#la0,|
|00002730| 23 73 63 72 65 65 6e 73 | 6c 69 62 2c 23 75 61 31 |#screens|lib,#ua1|
|00002740| 7d 00 21 73 75 62 73 7b | 5f 67 74 6d 78 2c 30 2c |}.!subs{|_gtmx,0,|
|00002750| 30 7d 00 21 61 72 67 73 | 7b 23 77 6f 72 64 2c 23 |0}.!args|{#word,#|
|00002760| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00002770| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 73 74 |,#word,#|word,#st|
|00002780| 72 69 6e 67 2c 23 6c 6f | 6e 67 2c 23 73 74 72 69 |ring,#lo|ng,#stri|
|00002790| 6e 67 2c 23 77 6f 72 64 | 7c 23 70 75 73 68 7d 00 |ng,#word||#push}.|
|000027a0| 21 6c 69 62 73 7b 23 6d | 79 67 61 64 74 6f 6f 6c |!libs{#m|ygadtool|
|000027b0| 73 6c 69 62 2c 23 69 61 | 33 7c 70 64 30 2c 23 69 |slib,#ia|3|pd0,#i|
|000027c0| 6e 74 75 69 66 6f 6e 74 | 6c 69 62 2c 23 6c 61 30 |ntuifont|lib,#la0|
|000027d0| 2c 23 73 63 72 65 65 6e | 73 6c 69 62 2c 23 75 61 |,#screen|slib,#ua|
|000027e0| 31 7d 00 21 73 75 62 73 | 7b 5f 67 74 6d 78 32 2c |1}.!subs|{_gtmx2,|
|000027f0| 30 2c 30 7d 00 21 6e 61 | 6d 65 7b 22 47 54 4d 58 |0,0}.!na|me{"GTMX|
|00002800| 22 2c 22 47 54 4c 69 73 | 74 23 2c 69 64 2c 78 2c |","GTLis|t#,id,x,|
|00002810| 79 2c 77 2c 68 2c 54 65 | 78 74 24 2c 66 6c 61 67 |y,w,h,Te|xt$,flag|
|00002820| 73 2c 4f 70 74 69 6f 6e | 73 24 5b 2c 61 63 74 69 |s,Option|s$[,acti|
|00002830| 76 65 5d 22 7d 00 00 00 | 21 61 63 6f 6d 6d 61 6e |ve]"}...|!acomman|
|00002840| 64 7b 23 6c 6f 6e 67 7d | 00 21 61 72 67 73 7b 23 |d{#long}|.!args{#|
|00002850| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00002860| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |,#word,#|word,#wo|
|00002870| 72 64 2c 23 73 74 72 69 | 6e 67 2c 23 6c 6f 6e 67 |rd,#stri|ng,#long|
|00002880| 2c 23 6c 6f 6e 67 7d 00 | 21 6c 69 62 73 7b 23 6d |,#long}.|!libs{#m|
|00002890| 79 67 61 64 74 6f 6f 6c | 73 6c 69 62 2c 23 69 61 |ygadtool|slib,#ia|
|000028a0| 33 7c 70 64 30 2c 23 69 | 6e 74 75 69 66 6f 6e 74 |3|pd0,#i|ntuifont|
|000028b0| 6c 69 62 2c 23 6c 61 30 | 2c 23 73 63 72 65 65 6e |lib,#la0|,#screen|
|000028c0| 73 6c 69 62 2c 23 75 61 | 31 7d 00 21 73 75 62 73 |slib,#ua|1}.!subs|
|000028d0| 7b 5f 67 74 6e 75 6d 62 | 65 72 2c 30 2c 30 7d 00 |{_gtnumb|er,0,0}.|
|000028e0| 21 6e 61 6d 65 7b 22 47 | 54 4e 75 6d 62 65 72 22 |!name{"G|TNumber"|
|000028f0| 2c 22 47 54 4c 69 73 74 | 23 2c 69 64 2c 78 2c 79 |,"GTList|#,id,x,y|
|00002900| 2c 77 2c 68 2c 54 65 78 | 74 24 2c 66 6c 61 67 73 |,w,h,Tex|t$,flags|
|00002910| 2c 76 61 6c 75 65 22 7d | 00 00 00 21 61 63 6f 6d |,value"}|...!acom|
|00002920| 6d 61 6e 64 7b 23 6c 6f | 6e 67 7d 00 21 61 72 67 |mand{#lo|ng}.!arg|
|00002930| 73 7b 23 77 6f 72 64 2c | 23 77 6f 72 64 2c 23 77 |s{#word,|#word,#w|
|00002940| 6f 72 64 2c 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |ord,#wor|d,#word,|
|00002950| 23 77 6f 72 64 2c 23 73 | 74 72 69 6e 67 2c 23 6c |#word,#s|tring,#l|
|00002960| 6f 6e 67 2c 23 6c 6f 6e | 67 7d 00 21 6c 69 62 73 |ong,#lon|g}.!libs|
|00002970| 7b 23 6d 79 67 61 64 74 | 6f 6f 6c 73 6c 69 62 2c |{#mygadt|oolslib,|
|00002980| 23 69 61 33 7c 70 64 30 | 2c 23 69 6e 74 75 69 66 |#ia3|pd0|,#intuif|
|00002990| 6f 6e 74 6c 69 62 2c 23 | 6c 61 30 2c 23 73 63 72 |ontlib,#|la0,#scr|
|000029a0| 65 65 6e 73 6c 69 62 2c | 23 75 61 31 7d 00 21 73 |eenslib,|#ua1}.!s|
|000029b0| 75 62 73 7b 5f 67 74 70 | 61 6c 65 74 74 65 2c 30 |ubs{_gtp|alette,0|
|000029c0| 2c 30 7d 00 21 61 72 67 | 73 7b 23 77 6f 72 64 2c |,0}.!arg|s{#word,|
|000029d0| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|000029e0| 64 2c 23 77 6f 72 64 2c | 23 77 6f 72 64 2c 23 73 |d,#word,|#word,#s|
|000029f0| 74 72 69 6e 67 2c 23 6c | 6f 6e 67 2c 23 6c 6f 6e |tring,#l|ong,#lon|
|00002a00| 67 2c 23 77 6f 72 64 7c | 23 70 75 73 68 7d 00 21 |g,#word||#push}.!|
|00002a10| 6c 69 62 73 7b 23 6d 79 | 67 61 64 74 6f 6f 6c 73 |libs{#my|gadtools|
|00002a20| 6c 69 62 2c 23 69 61 33 | 7c 70 64 30 2c 23 69 6e |lib,#ia3||pd0,#in|
|00002a30| 74 75 69 66 6f 6e 74 6c | 69 62 2c 23 6c 61 30 2c |tuifontl|ib,#la0,|
|00002a40| 23 73 63 72 65 65 6e 73 | 6c 69 62 2c 23 75 61 31 |#screens|lib,#ua1|
|00002a50| 7d 00 21 73 75 62 73 7b | 5f 67 74 70 61 6c 65 74 |}.!subs{|_gtpalet|
|00002a60| 74 65 32 2c 30 2c 30 7d | 00 21 6e 61 6d 65 7b 22 |te2,0,0}|.!name{"|
|00002a70| 47 54 50 61 6c 65 74 74 | 65 22 2c 22 47 54 4c 69 |GTPalett|e","GTLi|
|00002a80| 73 74 23 2c 69 64 2c 78 | 2c 79 2c 77 2c 68 2c 54 |st#,id,x|,y,w,h,T|
|00002a90| 65 78 74 24 2c 66 6c 61 | 67 73 2c 64 65 70 74 68 |ext$,fla|gs,depth|
|00002aa0| 5b 2c 43 6f 6c 6f 72 5d | 22 7d 00 00 00 21 61 63 |[,Color]|"}...!ac|
|00002ab0| 6f 6d 6d 61 6e 64 7b 23 | 6c 6f 6e 67 7d 00 21 61 |ommand{#|long}.!a|
|00002ac0| 72 67 73 7b 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |rgs{#wor|d,#word,|
|00002ad0| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|00002ae0| 64 2c 23 77 6f 72 64 2c | 23 73 74 72 69 6e 67 2c |d,#word,|#string,|
|00002af0| 23 6c 6f 6e 67 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#long,#w|ord,#wor|
|00002b00| 64 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |d}.!libs|{#mygadt|
|00002b10| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 33 7c 70 64 30 |oolslib,|#ia3|pd0|
|00002b20| 2c 23 69 6e 74 75 69 66 | 6f 6e 74 6c 69 62 2c 23 |,#intuif|ontlib,#|
|00002b30| 6c 61 30 2c 23 73 63 72 | 65 65 6e 73 6c 69 62 2c |la0,#scr|eenslib,|
|00002b40| 23 75 61 31 7d 00 21 73 | 75 62 73 7b 5f 67 74 73 |#ua1}.!s|ubs{_gts|
|00002b50| 63 72 6f 6c 6c 65 72 2c | 30 2c 30 7d 00 21 61 72 |croller,|0,0}.!ar|
|00002b60| 67 73 7b 23 77 6f 72 64 | 2c 23 77 6f 72 64 2c 23 |gs{#word|,#word,#|
|00002b70| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00002b80| 2c 23 77 6f 72 64 2c 23 | 73 74 72 69 6e 67 2c 23 |,#word,#|string,#|
|00002b90| 6c 6f 6e 67 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |long,#wo|rd,#word|
|00002ba0| 2c 23 77 6f 72 64 7c 23 | 70 75 73 68 7d 00 21 6c |,#word|#|push}.!l|
|00002bb0| 69 62 73 7b 23 6d 79 67 | 61 64 74 6f 6f 6c 73 6c |ibs{#myg|adtoolsl|
|00002bc0| 69 62 2c 23 69 61 33 7c | 70 64 30 2c 23 69 6e 74 |ib,#ia3||pd0,#int|
|00002bd0| 75 69 66 6f 6e 74 6c 69 | 62 2c 23 6c 61 30 2c 23 |uifontli|b,#la0,#|
|00002be0| 73 63 72 65 65 6e 73 6c | 69 62 2c 23 75 61 31 7d |screensl|ib,#ua1}|
|00002bf0| 00 21 73 75 62 73 7b 5f | 67 74 73 63 72 6f 6c 6c |.!subs{_|gtscroll|
|00002c00| 65 72 32 2c 30 2c 30 7d | 00 21 6e 61 6d 65 7b 22 |er2,0,0}|.!name{"|
|00002c10| 47 54 53 63 72 6f 6c 6c | 65 72 22 2c 22 47 54 4c |GTScroll|er","GTL|
|00002c20| 69 73 74 23 2c 69 64 2c | 78 2c 79 2c 77 2c 68 2c |ist#,id,|x,y,w,h,|
|00002c30| 54 65 78 74 24 2c 66 6c | 61 67 73 2c 56 69 73 69 |Text$,fl|ags,Visi|
|00002c40| 62 6c 65 2c 54 6f 74 61 | 6c 5b 2c 54 6f 70 5d 22 |ble,Tota|l[,Top]"|
|00002c50| 7d 00 00 00 21 61 63 6f | 6d 6d 61 6e 64 7b 23 6c |}...!aco|mmand{#l|
|00002c60| 6f 6e 67 7d 00 21 61 72 | 67 73 7b 23 77 6f 72 64 |ong}.!ar|gs{#word|
|00002c70| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |,#word,#|word,#wo|
|00002c80| 72 64 2c 23 77 6f 72 64 | 2c 23 77 6f 72 64 2c 23 |rd,#word|,#word,#|
|00002c90| 73 74 72 69 6e 67 2c 23 | 6c 6f 6e 67 2c 23 77 6f |string,#|long,#wo|
|00002ca0| 72 64 2c 23 77 6f 72 64 | 7d 00 21 6c 69 62 73 7b |rd,#word|}.!libs{|
|00002cb0| 23 6d 79 67 61 64 74 6f | 6f 6c 73 6c 69 62 2c 23 |#mygadto|olslib,#|
|00002cc0| 69 61 33 7c 70 64 30 2c | 23 69 6e 74 75 69 66 6f |ia3|pd0,|#intuifo|
|00002cd0| 6e 74 6c 69 62 2c 23 6c | 61 30 2c 23 73 63 72 65 |ntlib,#l|a0,#scre|
|00002ce0| 65 6e 73 6c 69 62 2c 23 | 75 61 31 7d 00 21 73 75 |enslib,#|ua1}.!su|
|00002cf0| 62 73 7b 5f 67 74 73 6c | 69 64 65 72 2c 30 2c 30 |bs{_gtsl|ider,0,0|
|00002d00| 7d 00 21 61 72 67 73 7b | 23 77 6f 72 64 2c 23 77 |}.!args{|#word,#w|
|00002d10| 6f 72 64 2c 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |ord,#wor|d,#word,|
|00002d20| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 73 74 72 |#word,#w|ord,#str|
|00002d30| 69 6e 67 2c 23 6c 6f 6e | 67 2c 23 77 6f 72 64 2c |ing,#lon|g,#word,|
|00002d40| 23 77 6f 72 64 2c 23 77 | 6f 72 64 7c 23 70 75 73 |#word,#w|ord|#pus|
|00002d50| 68 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |h}.!libs|{#mygadt|
|00002d60| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 33 7c 70 64 30 |oolslib,|#ia3|pd0|
|00002d70| 2c 23 69 6e 74 75 69 66 | 6f 6e 74 6c 69 62 2c 23 |,#intuif|ontlib,#|
|00002d80| 6c 61 30 2c 23 73 63 72 | 65 65 6e 73 6c 69 62 2c |la0,#scr|eenslib,|
|00002d90| 23 75 61 31 7d 00 21 73 | 75 62 73 7b 5f 67 74 73 |#ua1}.!s|ubs{_gts|
|00002da0| 6c 69 64 65 72 32 2c 30 | 2c 30 7d 00 21 6e 61 6d |lider2,0|,0}.!nam|
|00002db0| 65 7b 22 47 54 53 6c 69 | 64 65 72 22 2c 22 47 54 |e{"GTSli|der","GT|
|00002dc0| 4c 69 73 74 23 2c 69 64 | 2c 78 2c 79 2c 77 2c 68 |List#,id|,x,y,w,h|
|00002dd0| 2c 54 65 78 74 24 2c 66 | 6c 61 67 73 2c 4d 69 6e |,Text$,f|lags,Min|
|00002de0| 2c 4d 61 78 5b 2c 4c 65 | 76 65 6c 5d 22 7d 00 00 |,Max[,Le|vel]"}..|
|00002df0| 00 21 61 63 6f 6d 6d 61 | 6e 64 7b 23 6c 6f 6e 67 |.!acomma|nd{#long|
|00002e00| 7d 00 21 61 72 67 73 7b | 23 77 6f 72 64 2c 23 77 |}.!args{|#word,#w|
|00002e10| 6f 72 64 2c 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |ord,#wor|d,#word,|
|00002e20| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 73 74 72 |#word,#w|ord,#str|
|00002e30| 69 6e 67 2c 23 6c 6f 6e | 67 2c 23 77 6f 72 64 7d |ing,#lon|g,#word}|
|00002e40| 00 21 6c 69 62 73 7b 23 | 6d 79 67 61 64 74 6f 6f |.!libs{#|mygadtoo|
|00002e50| 6c 73 6c 69 62 2c 23 69 | 61 33 7c 70 64 30 2c 23 |lslib,#i|a3|pd0,#|
|00002e60| 69 6e 74 75 69 66 6f 6e | 74 6c 69 62 2c 23 6c 61 |intuifon|tlib,#la|
|00002e70| 30 2c 23 73 63 72 65 65 | 6e 73 6c 69 62 2c 23 75 |0,#scree|nslib,#u|
|00002e80| 61 31 7d 00 21 73 75 62 | 73 7b 5f 67 74 73 74 72 |a1}.!sub|s{_gtstr|
|00002e90| 69 6e 67 2c 30 2c 30 7d | 00 21 61 72 67 73 7b 23 |ing,0,0}|.!args{#|
|00002ea0| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00002eb0| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 23 77 6f |,#word,#|word,#wo|
|00002ec0| 72 64 2c 23 73 74 72 69 | 6e 67 2c 23 6c 6f 6e 67 |rd,#stri|ng,#long|
|00002ed0| 2c 23 77 6f 72 64 2c 23 | 73 74 72 69 6e 67 7c 23 |,#word,#|string|#|
|00002ee0| 70 75 73 68 7d 00 21 6c | 69 62 73 7b 23 6d 79 67 |push}.!l|ibs{#myg|
|00002ef0| 61 64 74 6f 6f 6c 73 6c | 69 62 2c 23 69 61 33 7c |adtoolsl|ib,#ia3||
|00002f00| 70 64 30 2c 23 69 6e 74 | 75 69 66 6f 6e 74 6c 69 |pd0,#int|uifontli|
|00002f10| 62 2c 23 6c 61 30 2c 23 | 73 63 72 65 65 6e 73 6c |b,#la0,#|screensl|
|00002f20| 69 62 2c 23 75 61 31 7d | 00 21 73 75 62 73 7b 5f |ib,#ua1}|.!subs{_|
|00002f30| 67 74 73 74 72 69 6e 67 | 32 2c 30 2c 30 7d 00 21 |gtstring|2,0,0}.!|
|00002f40| 6e 61 6d 65 7b 22 47 54 | 53 74 72 69 6e 67 22 2c |name{"GT|String",|
|00002f50| 22 47 54 4c 69 73 74 23 | 2c 69 64 2c 78 2c 79 2c |"GTList#|,id,x,y,|
|00002f60| 77 2c 68 2c 54 65 78 74 | 24 2c 66 6c 61 67 73 2c |w,h,Text|$,flags,|
|00002f70| 4d 61 78 43 68 61 72 73 | 20 5b 2c 64 65 66 61 75 |MaxChars| [,defau|
|00002f80| 6c 74 24 5d 22 7d 00 00 | 00 21 61 63 6f 6d 6d 61 |lt$]"}..|.!acomma|
|00002f90| 6e 64 7b 23 6c 6f 6e 67 | 7d 00 21 61 72 67 73 7b |nd{#long|}.!args{|
|00002fa0| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 77 6f 72 |#word,#w|ord,#wor|
|00002fb0| 64 2c 23 77 6f 72 64 2c | 23 77 6f 72 64 2c 23 77 |d,#word,|#word,#w|
|00002fc0| 6f 72 64 2c 23 73 74 72 | 69 6e 67 2c 23 6c 6f 6e |ord,#str|ing,#lon|
|00002fd0| 67 2c 23 73 74 72 69 6e | 67 7d 00 21 6c 69 62 73 |g,#strin|g}.!libs|
|00002fe0| 7b 23 6d 79 67 61 64 74 | 6f 6f 6c 73 6c 69 62 2c |{#mygadt|oolslib,|
|00002ff0| 23 69 61 33 7c 70 64 30 | 2c 23 69 6e 74 75 69 66 |#ia3|pd0|,#intuif|
|00003000| 6f 6e 74 6c 69 62 2c 23 | 6c 61 30 2c 23 73 63 72 |ontlib,#|la0,#scr|
|00003010| 65 65 6e 73 6c 69 62 2c | 23 75 61 31 7d 00 21 73 |eenslib,|#ua1}.!s|
|00003020| 75 62 73 7b 5f 67 74 74 | 65 78 74 2c 30 2c 30 7d |ubs{_gtt|ext,0,0}|
|00003030| 00 21 6e 61 6d 65 7b 22 | 47 54 54 65 78 74 22 2c |.!name{"|GTText",|
|00003040| 22 47 54 4c 69 73 74 23 | 2c 69 64 2c 78 2c 79 2c |"GTList#|,id,x,y,|
|00003050| 77 2c 68 2c 54 65 78 74 | 24 2c 66 6c 61 67 73 2c |w,h,Text|$,flags,|
|00003060| 44 69 73 70 6c 61 79 24 | 22 7d 00 00 00 21 61 73 |Display$|"}...!as|
|00003070| 74 61 74 65 6d 65 6e 74 | 00 21 61 72 67 73 7b 23 |tatement|.!args{#|
|00003080| 77 6f 72 64 2c 23 77 6f | 72 64 7d 00 21 6c 69 62 |word,#wo|rd}.!lib|
|00003090| 73 7b 23 6d 79 67 61 64 | 74 6f 6f 6c 73 6c 69 62 |s{#mygad|toolslib|
|000030a0| 2c 23 69 61 31 7c 70 64 | 30 2c 23 77 69 6e 64 6f |,#ia1|pd|0,#windo|
|000030b0| 77 73 6c 69 62 2c 24 31 | 30 38 31 2c 23 69 6e 74 |wslib,$1|081,#int|
|000030c0| 75 69 74 69 6f 6e 6c 69 | 62 2c 23 6c 61 36 7d 00 |uitionli|b,#la6}.|
|000030d0| 21 73 75 62 73 7b 5f 61 | 74 74 61 63 68 67 74 6c |!subs{_a|ttachgtl|
|000030e0| 69 73 74 2c 63 68 65 63 | 6b 61 74 74 61 63 68 2c |ist,chec|kattach,|
|000030f0| 30 7d 00 21 6e 61 6d 65 | 7b 22 41 74 74 61 63 68 |0}.!name|{"Attach|
|00003100| 47 54 4c 69 73 74 22 2c | 22 47 54 4c 69 73 74 23 |GTList",|"GTList#|
|00003110| 2c 57 69 6e 64 6f 77 23 | 22 7d 00 00 00 21 61 73 |,Window#|"}...!as|
|00003120| 74 61 74 65 6d 65 6e 74 | 00 21 72 65 70 61 72 67 |tatement|.!reparg|
|00003130| 73 20 7b 30 2c 32 2c 23 | 6c 6f 6e 67 7c 23 70 75 |s {0,2,#|long|#pu|
|00003140| 73 68 2c 23 6c 6f 6e 67 | 7c 23 70 75 73 68 7d 00 |sh,#long||#push}.|
|00003150| 21 6c 69 62 73 00 21 73 | 75 62 73 20 7b 5f 67 74 |!libs.!s|ubs {_gt|
|00003160| 74 61 67 73 2c 30 2c 30 | 7d 00 21 6e 61 6d 65 20 |tags,0,0|}.!name |
|00003170| 7b 22 47 54 54 61 67 73 | 22 2c 22 54 61 67 2c 56 |{"GTTags|","Tag,V|
|00003180| 61 6c 75 65 20 5b 2c 54 | 61 67 2c 56 61 6c 75 65 |alue [,T|ag,Value|
|00003190| 2e 2e 2e 5d 22 7d 00 00 | 00 21 61 66 75 6e 63 74 |...]"}..|.!afunct|
|000031a0| 69 6f 6e 20 7b 23 6c 6f | 6e 67 7d 00 21 61 72 67 |ion {#lo|ng}.!arg|
|000031b0| 73 20 7b 23 77 6f 72 64 | 2c 23 77 6f 72 64 7d 00 |s {#word|,#word}.|
|000031c0| 21 6c 69 62 73 20 7b 23 | 6d 79 67 61 64 74 6f 6f |!libs {#|mygadtoo|
|000031d0| 6c 73 6c 69 62 2c 23 69 | 61 31 7c 70 64 30 7d 00 |lslib,#i|a1|pd0}.|
|000031e0| 21 73 75 62 73 20 7b 5f | 67 74 70 74 72 2c 30 2c |!subs {_|gtptr,0,|
|000031f0| 30 7d 00 3b 21 61 72 67 | 73 20 7b 23 77 6f 72 64 |0}.;!arg|s {#word|
|00003200| 2c 23 77 6f 72 64 2c 23 | 77 6f 72 64 7d 00 3b 21 |,#word,#|word}.;!|
|00003210| 6c 69 62 73 20 7b 23 6d | 79 67 61 64 74 6f 6f 6c |libs {#m|ygadtool|
|00003220| 73 6c 69 62 2c 23 69 61 | 31 7c 70 64 30 7d 00 3b |slib,#ia|1|pd0}.;|
|00003230| 21 73 75 62 73 20 7b 5f | 67 74 70 74 72 2c 30 2c |!subs {_|gtptr,0,|
|00003240| 30 7d 00 21 6e 61 6d 65 | 20 7b 22 47 54 47 61 64 |0}.!name| {"GTGad|
|00003250| 50 74 72 22 2c 22 28 47 | 54 4c 69 73 74 23 2c 69 |Ptr","(G|TList#,i|
|00003260| 64 29 22 7d 00 00 00 21 | 61 73 74 61 74 65 6d 65 |d)"}...!|astateme|
|00003270| 6e 74 00 21 61 72 67 73 | 7b 23 77 6f 72 64 2c 23 |nt.!args|{#word,#|
|00003280| 6c 6f 6e 67 2c 23 6c 6f | 6e 67 2c 23 6c 6f 6e 67 |long,#lo|ng,#long|
|00003290| 2c 23 6c 6f 6e 67 2c 23 | 6c 6f 6e 67 7d 00 21 6c |,#long,#|long}.!l|
|000032a0| 69 62 73 7b 23 6d 79 67 | 61 64 74 6f 6f 6c 73 6c |ibs{#myg|adtoolsl|
|000032b0| 69 62 2c 23 69 61 30 7c | 70 64 30 7d 00 21 73 75 |ib,#ia0||pd0}.!su|
|000032c0| 62 73 7b 5f 67 74 62 65 | 76 65 6c 32 2c 63 68 65 |bs{_gtbe|vel2,che|
|000032d0| 63 6b 62 65 76 65 6c 2c | 30 7d 00 21 61 72 67 73 |ckbevel,|0}.!args|
|000032e0| 7b 23 77 6f 72 64 2c 23 | 6c 6f 6e 67 2c 23 6c 6f |{#word,#|long,#lo|
|000032f0| 6e 67 2c 23 6c 6f 6e 67 | 2c 23 6c 6f 6e 67 2c 23 |ng,#long|,#long,#|
|00003300| 6c 6f 6e 67 2c 23 6c 6f | 6e 67 7d 00 21 6c 69 62 |long,#lo|ng}.!lib|
|00003310| 73 7b 23 6d 79 67 61 64 | 74 6f 6f 6c 73 6c 69 62 |s{#mygad|toolslib|
|00003320| 2c 23 69 61 30 7c 70 64 | 30 7d 00 21 73 75 62 73 |,#ia0|pd|0}.!subs|
|00003330| 7b 5f 67 74 62 65 76 65 | 6c 2c 63 68 65 63 6b 62 |{_gtbeve|l,checkb|
|00003340| 65 76 65 6c 2c 30 7d 00 | 21 6e 61 6d 65 7b 22 47 |evel,0}.|!name{"G|
|00003350| 54 42 65 76 65 6c 42 6f | 78 22 2c 22 47 54 4c 69 |TBevelBo|x","GTLi|
|00003360| 73 74 23 2c 78 2e 6c 2c | 79 2e 6c 2c 77 2e 6c 2c |st#,x.l,|y.l,w.l,|
|00003370| 68 2e 6c 2c 66 6c 61 67 | 73 2e 6c 5b 2c 74 79 70 |h.l,flag|s.l[,typ|
|00003380| 65 2e 6c 5d 22 7d 00 00 | 00 21 61 73 74 61 74 65 |e.l]"}..|.!astate|
|00003390| 6d 65 6e 74 00 21 61 72 | 67 73 20 7b 23 77 6f 72 |ment.!ar|gs {#wor|
|000033a0| 64 2c 23 77 6f 72 64 2c | 23 61 72 72 61 79 7c 23 |d,#word,|#array|#|
|000033b0| 70 75 73 68 7d 00 21 6c | 69 62 73 20 7b 23 6d 79 |push}.!l|ibs {#my|
|000033c0| 67 61 64 74 6f 6f 6c 73 | 6c 69 62 2c 23 69 61 31 |gadtools|lib,#ia1|
|000033d0| 7c 70 64 30 7d 00 21 73 | 75 62 73 20 7b 5f 67 74 ||pd0}.!s|ubs {_gt|
|000033e0| 63 68 6e 67 6c 69 73 74 | 32 2c 30 2c 30 7d 00 21 |chnglist|2,0,0}.!|
|000033f0| 61 72 67 73 20 7b 23 77 | 6f 72 64 2c 23 77 6f 72 |args {#w|ord,#wor|
|00003400| 64 7d 00 21 6c 69 62 73 | 20 7b 23 6d 79 67 61 64 |d}.!libs| {#mygad|
|00003410| 74 6f 6f 6c 73 6c 69 62 | 2c 23 69 61 31 7c 70 64 |toolslib|,#ia1|pd|
|00003420| 30 7d 00 21 73 75 62 73 | 20 7b 5f 67 74 63 68 6e |0}.!subs| {_gtchn|
|00003430| 67 6c 69 73 74 2c 30 2c | 30 7d 00 21 6e 61 6d 65 |glist,0,|0}.!name|
|00003440| 20 7b 22 47 54 43 68 61 | 6e 67 65 4c 69 73 74 22 | {"GTCha|ngeList"|
|00003450| 2c 22 47 54 4c 69 73 74 | 23 2c 69 64 20 5b 20 2c |,"GTList|#,id [ ,|
|00003460| 4c 69 73 74 28 29 20 5d | 22 7d 00 00 00 21 61 63 |List() ]|"}...!ac|
|00003470| 6f 6d 6d 61 6e 64 7b 23 | 6c 6f 6e 67 7d 00 21 72 |ommand{#|long}.!r|
|00003480| 65 70 61 72 67 73 20 7b | 32 2c 32 2c 23 77 6f 72 |epargs {|2,2,#wor|
|00003490| 64 2c 23 77 6f 72 64 2c | 23 6c 6f 6e 67 7c 23 70 |d,#word,|#long|#p|
|000034a0| 75 73 68 2c 23 6c 6f 6e | 67 7c 23 70 75 73 68 7d |ush,#lon|g|#push}|
|000034b0| 00 21 6c 69 62 73 20 7b | 23 6d 79 67 61 64 74 6f |.!libs {|#mygadto|
|000034c0| 6f 6c 73 6c 69 62 2c 23 | 69 61 31 7c 70 64 30 7d |olslib,#|ia1|pd0}|
|000034d0| 00 21 73 75 62 73 20 7b | 5f 67 74 73 65 74 61 74 |.!subs {|_gtsetat|
|000034e0| 74 72 73 2c 30 2c 30 7d | 00 21 6e 61 6d 65 20 7b |trs,0,0}|.!name {|
|000034f0| 22 47 54 53 65 74 41 74 | 74 72 73 22 2c 22 47 54 |"GTSetAt|trs","GT|
|00003500| 4c 69 73 74 23 2c 69 64 | 20 5b 2c 54 61 67 2c 56 |List#,id| [,Tag,V|
|00003510| 61 6c 75 65 2e 2e 2e 5d | 22 7d 00 00 00 21 61 73 |alue...]|"}...!as|
|00003520| 74 61 74 65 6d 65 6e 74 | 00 21 61 72 67 73 20 7b |tatement|.!args {|
|00003530| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 73 74 72 |#word,#w|ord,#str|
|00003540| 69 6e 67 7d 00 21 6c 69 | 62 73 20 7b 23 6d 79 67 |ing}.!li|bs {#myg|
|00003550| 61 64 74 6f 6f 6c 73 6c | 69 62 2c 23 69 61 31 7c |adtoolsl|ib,#ia1||
|00003560| 70 64 30 7d 00 21 73 75 | 62 73 20 7b 5f 67 74 73 |pd0}.!su|bs {_gts|
|00003570| 65 74 73 74 72 69 6e 67 | 2c 30 2c 30 7d 00 21 6e |etstring|,0,0}.!n|
|00003580| 61 6d 65 20 7b 22 47 54 | 53 65 74 53 74 72 69 6e |ame {"GT|SetStrin|
|00003590| 67 22 2c 22 47 54 4c 69 | 73 74 23 2c 69 64 2c 73 |g","GTLi|st#,id,s|
|000035a0| 74 72 69 6e 67 24 22 7d | 00 00 00 21 61 73 74 61 |tring$"}|...!asta|
|000035b0| 74 65 6d 65 6e 74 00 21 | 61 72 67 73 20 7b 23 77 |tement.!|args {#w|
|000035c0| 6f 72 64 2c 23 77 6f 72 | 64 2c 23 6c 6f 6e 67 7d |ord,#wor|d,#long}|
|000035d0| 00 21 6c 69 62 73 20 7b | 23 6d 79 67 61 64 74 6f |.!libs {|#mygadto|
|000035e0| 6f 6c 73 6c 69 62 2c 23 | 69 61 31 7c 70 64 30 7d |olslib,#|ia1|pd0}|
|000035f0| 00 21 73 75 62 73 20 7b | 5f 67 74 73 65 74 69 6e |.!subs {|_gtsetin|
|00003600| 74 2c 30 2c 30 7d 00 21 | 6e 61 6d 65 20 7b 22 47 |t,0,0}.!|name {"G|
|00003610| 54 53 65 74 49 6e 74 65 | 67 65 72 22 2c 22 47 54 |TSetInte|ger","GT|
|00003620| 4c 69 73 74 23 2c 69 64 | 2c 76 61 6c 75 65 22 7d |List#,id|,value"}|
|00003630| 00 00 00 21 61 66 75 6e | 63 74 69 6f 6e 20 7b 23 |...!afun|ction {#|
|00003640| 73 74 72 69 6e 67 7d 00 | 21 61 72 67 73 20 7b 23 |string}.|!args {#|
|00003650| 77 6f 72 64 2c 23 77 6f | 72 64 7d 00 21 6c 69 62 |word,#wo|rd}.!lib|
|00003660| 73 20 7b 23 6d 79 67 61 | 64 74 6f 6f 6c 73 6c 69 |s {#myga|dtoolsli|
|00003670| 62 2c 23 69 61 31 7c 70 | 64 30 7d 00 21 73 75 62 |b,#ia1|p|d0}.!sub|
|00003680| 73 20 7b 5f 67 74 67 65 | 74 73 74 72 69 6e 67 2c |s {_gtge|tstring,|
|00003690| 30 2c 30 7d 00 21 6e 61 | 6d 65 20 7b 22 47 54 47 |0,0}.!na|me {"GTG|
|000036a0| 65 74 53 74 72 69 6e 67 | 22 2c 22 47 54 4c 69 73 |etString|","GTLis|
|000036b0| 74 23 2c 69 64 22 7d 00 | 00 00 21 61 66 75 6e 63 |t#,id"}.|..!afunc|
|000036c0| 74 69 6f 6e 20 7b 23 6c | 6f 6e 67 7d 00 21 61 72 |tion {#l|ong}.!ar|
|000036d0| 67 73 20 7b 23 77 6f 72 | 64 2c 23 77 6f 72 64 7d |gs {#wor|d,#word}|
|000036e0| 00 21 6c 69 62 73 20 7b | 23 6d 79 67 61 64 74 6f |.!libs {|#mygadto|
|000036f0| 6f 6c 73 6c 69 62 2c 23 | 69 61 31 7c 70 64 30 7d |olslib,#|ia1|pd0}|
|00003700| 00 21 73 75 62 73 20 7b | 5f 67 74 67 65 74 69 6e |.!subs {|_gtgetin|
|00003710| 74 2c 30 2c 30 7d 00 21 | 6e 61 6d 65 20 7b 22 47 |t,0,0}.!|name {"G|
|00003720| 54 47 65 74 49 6e 74 65 | 67 65 72 22 2c 22 47 54 |TGetInte|ger","GT|
|00003730| 4c 69 73 74 23 2c 69 64 | 22 7d 00 00 00 21 61 63 |List#,id|"}...!ac|
|00003740| 6f 6d 6d 61 6e 64 7b 23 | 6c 6f 6e 67 7d 00 21 61 |ommand{#|long}.!a|
|00003750| 72 67 73 7b 23 77 6f 72 | 64 2c 23 77 6f 72 64 2c |rgs{#wor|d,#word,|
|00003760| 23 77 6f 72 64 2c 23 77 | 6f 72 64 2c 23 6c 6f 6e |#word,#w|ord,#lon|
|00003770| 67 2c 23 77 6f 72 64 7d | 00 21 6c 69 62 73 7b 23 |g,#word}|.!libs{#|
|00003780| 6d 79 67 61 64 74 6f 6f | 6c 73 6c 69 62 2c 23 69 |mygadtoo|lslib,#i|
|00003790| 61 33 7c 70 64 30 2c 23 | 69 6e 74 75 69 66 6f 6e |a3|pd0,#|intuifon|
|000037a0| 74 6c 69 62 2c 23 6c 61 | 30 2c 23 73 63 72 65 65 |tlib,#la|0,#scree|
|000037b0| 6e 73 6c 69 62 2c 23 75 | 61 31 2c 23 73 68 61 70 |nslib,#u|a1,#shap|
|000037c0| 65 73 6c 69 62 2c 23 69 | 61 36 7c 23 70 64 35 7d |eslib,#i|a6|#pd5}|
|000037d0| 00 21 73 75 62 73 7b 5f | 67 74 73 68 61 70 65 2c |.!subs{_|gtshape,|
|000037e0| 73 67 63 68 6b 2c 30 7d | 00 21 61 72 67 73 7b 23 |sgchk,0}|.!args{#|
|000037f0| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00003800| 2c 23 77 6f 72 64 2c 23 | 6c 6f 6e 67 2c 23 77 6f |,#word,#|long,#wo|
|00003810| 72 64 2c 23 77 6f 72 64 | 7d 00 21 6c 69 62 73 7b |rd,#word|}.!libs{|
|00003820| 23 6d 79 67 61 64 74 6f | 6f 6c 73 6c 69 62 2c 23 |#mygadto|olslib,#|
|00003830| 69 61 33 7c 70 64 30 2c | 23 69 6e 74 75 69 66 6f |ia3|pd0,|#intuifo|
|00003840| 6e 74 6c 69 62 2c 23 6c | 61 30 2c 23 73 63 72 65 |ntlib,#l|a0,#scre|
|00003850| 65 6e 73 6c 69 62 2c 23 | 75 61 31 2c 23 73 68 61 |enslib,#|ua1,#sha|
|00003860| 70 65 73 6c 69 62 2c 23 | 69 61 36 7c 23 70 64 35 |peslib,#|ia6|#pd5|
|00003870| 2c 23 73 68 61 70 65 73 | 6c 69 62 2c 23 69 61 32 |,#shapes|lib,#ia2|
|00003880| 7c 23 70 64 36 7d 00 21 | 73 75 62 73 7b 5f 67 74 ||#pd6}.!|subs{_gt|
|00003890| 73 68 61 70 65 32 2c 73 | 67 63 68 6b 32 2c 30 7d |shape2,s|gchk2,0}|
|000038a0| 00 21 6e 61 6d 65 7b 22 | 47 54 53 68 61 70 65 22 |.!name{"|GTShape"|
|000038b0| 2c 22 47 54 4c 69 73 74 | 23 2c 69 64 2c 78 2c 79 |,"GTList|#,id,x,y|
|000038c0| 2c 66 6c 61 67 73 2c 53 | 68 61 70 65 23 5b 2c 53 |,flags,S|hape#[,S|
|000038d0| 68 61 70 65 23 5d 22 7d | 20 3b 20 41 6e 64 72 65 |hape#]"}| ; Andre|
|000038e0| 20 77 61 73 20 68 65 72 | 65 20 3a 29 00 00 00 21 | was her|e :)...!|
|000038f0| 61 66 75 6e 63 74 69 6f | 6e 20 7b 23 6c 6f 6e 67 |afunctio|n {#long|
|00003900| 7d 00 21 61 72 67 73 20 | 7b 23 77 6f 72 64 2c 23 |}.!args |{#word,#|
|00003910| 77 6f 72 64 2c 23 6c 6f | 6e 67 7d 00 21 6c 69 62 |word,#lo|ng}.!lib|
|00003920| 73 20 7b 23 6d 79 67 61 | 64 74 6f 6f 6c 73 6c 69 |s {#myga|dtoolsli|
|00003930| 62 2c 23 69 61 31 7c 70 | 64 30 7d 00 21 73 75 62 |b,#ia1|p|d0}.!sub|
|00003940| 73 20 7b 5f 67 74 67 65 | 74 61 74 74 72 73 2c 30 |s {_gtge|tattrs,0|
|00003950| 2c 30 7d 00 21 6e 61 6d | 65 20 7b 22 47 54 47 65 |,0}.!nam|e {"GTGe|
|00003960| 74 41 74 74 72 73 22 2c | 22 28 47 54 4c 69 73 74 |tAttrs",|"(GTList|
|00003970| 23 2c 69 64 2c 54 61 67 | 29 22 7d 00 00 00 21 61 |#,id,Tag|)"}...!a|
|00003980| 73 74 61 74 65 6d 65 6e | 74 20 3b 20 6e 65 65 64 |statemen|t ; need|
|00003990| 20 61 20 52 65 64 72 61 | 77 2e 2e 2e 00 21 61 72 | a Redra|w....!ar|
|000039a0| 67 73 7b 23 77 6f 72 64 | 2c 23 77 6f 72 64 7d 00 |gs{#word|,#word}.|
|000039b0| 21 6c 69 62 73 7b 23 6d | 79 67 61 64 74 6f 6f 6c |!libs{#m|ygadtool|
|000039c0| 73 6c 69 62 2c 23 69 61 | 31 7c 70 64 30 7d 00 21 |slib,#ia|1|pd0}.!|
|000039d0| 73 75 62 73 7b 64 6f 65 | 6e 61 62 6c 65 2c 30 2c |subs{doe|nable,0,|
|000039e0| 30 7d 00 21 6e 61 6d 65 | 7b 22 47 54 45 6e 61 62 |0}.!name|{"GTEnab|
|000039f0| 6c 65 22 2c 22 47 54 4c | 69 73 74 23 2c 49 64 22 |le","GTL|ist#,Id"|
|00003a00| 7d 00 00 00 21 61 73 74 | 61 74 65 6d 65 6e 74 20 |}...!ast|atement |
|00003a10| 3b 20 6e 65 65 64 20 61 | 20 52 65 64 72 61 77 2e |; need a| Redraw.|
|00003a20| 2e 2e 00 21 61 72 67 73 | 7b 23 77 6f 72 64 2c 23 |...!args|{#word,#|
|00003a30| 77 6f 72 64 7d 00 21 6c | 69 62 73 7b 23 6d 79 67 |word}.!l|ibs{#myg|
|00003a40| 61 64 74 6f 6f 6c 73 6c | 69 62 2c 23 69 61 31 7c |adtoolsl|ib,#ia1||
|00003a50| 70 64 30 7d 00 21 73 75 | 62 73 7b 64 6f 64 69 73 |pd0}.!su|bs{dodis|
|00003a60| 61 62 6c 65 2c 30 2c 30 | 7d 00 21 6e 61 6d 65 7b |able,0,0|}.!name{|
|00003a70| 22 47 54 44 69 73 61 62 | 6c 65 22 2c 22 47 54 4c |"GTDisab|le","GTL|
|00003a80| 69 73 74 23 2c 49 64 22 | 7d 00 00 00 21 61 73 74 |ist#,Id"|}...!ast|
|00003a90| 61 74 65 6d 65 6e 74 20 | 3b 20 6e 65 65 64 20 61 |atement |; need a|
|00003aa0| 20 52 65 64 72 61 77 2e | 2e 2e 00 21 61 72 67 73 | Redraw.|...!args|
|00003ab0| 7b 23 77 6f 72 64 2c 23 | 77 6f 72 64 2c 77 6f 72 |{#word,#|word,wor|
|00003ac0| 64 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |d}.!libs|{#mygadt|
|00003ad0| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 31 7c 70 64 30 |oolslib,|#ia1|pd0|
|00003ae0| 2c 23 69 6e 74 75 69 74 | 69 6f 6e 6c 69 62 2c 23 |,#intuit|ionlib,#|
|00003af0| 6c 61 36 7d 00 21 73 75 | 62 73 7b 64 6f 73 65 6c |la6}.!su|bs{dosel|
|00003b00| 65 63 74 2c 30 2c 30 7d | 00 21 61 72 67 73 7b 23 |ect,0,0}|.!args{#|
|00003b10| 77 6f 72 64 2c 23 77 6f | 72 64 7d 20 20 20 20 20 |word,#wo|rd} |
|00003b20| 20 20 20 20 20 20 20 20 | 20 3b 73 69 6d 6f 6e 20 | | ;simon |
|00003b30| 77 61 73 20 68 65 72 65 | 00 21 6c 69 62 73 7b 23 |was here|.!libs{#|
|00003b40| 6d 79 67 61 64 74 6f 6f | 6c 73 6c 69 62 2c 23 69 |mygadtoo|lslib,#i|
|00003b50| 61 31 7c 70 64 30 2c 23 | 69 6e 74 75 69 74 69 6f |a1|pd0,#|intuitio|
|00003b60| 6e 6c 69 62 2c 23 6c 61 | 36 7d 20 20 3b 61 6e 64 |nlib,#la|6} ;and|
|00003b70| 72 65 20 74 6f 6f 2e 2e | 2e 00 21 73 75 62 73 7b |re too..|..!subs{|
|00003b80| 64 6f 73 65 6c 65 63 74 | 32 2c 30 2c 30 7d 00 21 |doselect|2,0,0}.!|
|00003b90| 6e 61 6d 65 7b 22 47 54 | 54 6f 67 67 6c 65 22 2c |name{"GT|Toggle",|
|00003ba0| 22 47 54 4c 69 73 74 23 | 2c 49 64 20 5b 2c 4f 6e |"GTList#|,Id [,On|
|00003bb0| 7c 4f 66 66 5d 22 7d 00 | 00 00 3b 53 74 65 70 68 ||Off]"}.|..;Steph|
|00003bc0| 65 6e 20 4d 63 4e 61 6d | 61 72 61 20 75 70 64 61 |en McNam|ara upda|
|00003bd0| 74 65 73 2c 20 41 75 67 | 75 73 74 20 31 39 39 34 |tes, Aug|ust 1994|
|00003be0| 00 3b 46 75 6e 63 74 69 | 6f 6e 20 64 65 66 69 6e |.;Functi|on defin|
|00003bf0| 69 74 69 6f 6e 73 00 00 | 00 21 61 66 75 6e 63 74 |itions..|.!afunct|
|00003c00| 69 6f 6e 20 7b 23 62 79 | 74 65 7d 20 20 20 20 20 |ion {#by|te} |
|00003c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00003c20| 53 74 65 76 65 20 4d 63 | 20 77 61 73 20 68 65 72 |Steve Mc| was her|
|00003c30| 65 21 00 21 61 72 67 73 | 7b 23 77 6f 72 64 2c 23 |e!.!args|{#word,#|
|00003c40| 77 6f 72 64 7d 00 21 6c | 69 62 73 7b 23 6d 79 67 |word}.!l|ibs{#myg|
|00003c50| 61 64 74 6f 6f 6c 73 6c | 69 62 2c 23 69 61 31 7c |adtoolsl|ib,#ia1||
|00003c60| 70 64 30 7d 00 21 73 75 | 62 73 7b 5f 67 74 67 65 |pd0}.!su|bs{_gtge|
|00003c70| 74 73 74 61 74 75 73 2c | 30 2c 30 7d 00 21 6e 61 |tstatus,|0,0}.!na|
|00003c80| 6d 65 7b 22 47 54 53 74 | 61 74 75 73 22 2c 22 47 |me{"GTSt|atus","G|
|00003c90| 54 4c 69 73 74 23 2c 49 | 64 22 7d 00 00 00 21 61 |TList#,I|d"}...!a|
|00003ca0| 73 74 61 74 65 6d 65 6e | 74 20 20 20 20 20 20 20 |statemen|t |
|00003cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003cc0| 20 20 20 3b 20 53 74 65 | 76 65 20 4d 63 20 77 61 | ; Ste|ve Mc wa|
|00003cd0| 73 20 68 65 72 65 21 00 | 21 61 72 67 73 20 7b 23 |s here!.|!args {#|
|00003ce0| 6c 6f 6e 67 7d 00 21 6c | 69 62 73 00 21 73 75 62 |long}.!l|ibs.!sub|
|00003cf0| 73 7b 5f 67 74 61 72 72 | 6f 77 73 69 7a 65 2c 30 |s{_gtarr|owsize,0|
|00003d00| 2c 30 7d 00 21 6e 61 6d | 65 7b 22 47 54 41 72 72 |,0}.!nam|e{"GTArr|
|00003d10| 6f 77 53 69 7a 65 22 2c | 22 73 69 7a 65 22 7d 00 |owSize",|"size"}.|
|00003d20| 00 00 3b 20 44 61 76 69 | 64 20 4d 63 4d 69 6e 6e |..; Davi|d McMinn|
|00003d30| 20 77 61 73 20 68 65 72 | 65 2c 20 74 72 79 69 6e | was her|e, tryin|
|00003d40| 67 20 74 6f 20 63 6f 70 | 79 20 74 68 65 20 42 53 |g to cop|y the BS|
|00003d50| 53 20 75 70 64 61 74 65 | 64 20 62 62 67 74 6c 69 |S update|d bbgtli|
|00003d60| 62 00 3b 20 28 77 69 74 | 68 6f 75 74 20 74 68 65 |b.; (wit|hout the|
|00003d70| 20 73 6f 75 72 63 65 2c | 20 64 6f 68 29 00 21 61 | source,| doh).!a|
|00003d80| 73 74 61 74 65 6d 65 6e | 74 00 21 61 72 67 73 7b |statemen|t.!args{|
|00003d90| 23 77 6f 72 64 7d 00 21 | 6c 69 62 73 7b 23 6d 79 |#word}.!|libs{#my|
|00003da0| 67 61 64 74 6f 6f 6c 73 | 6c 69 62 2c 23 69 61 31 |gadtools|lib,#ia1|
|00003db0| 7c 70 64 30 2c 23 69 6e | 74 75 69 74 69 6f 6e 6c ||pd0,#in|tuitionl|
|00003dc0| 69 62 2c 23 6c 61 36 7d | 00 21 73 75 62 73 7b 5f |ib,#la6}|.!subs{_|
|00003dd0| 64 65 74 61 63 68 67 74 | 6c 69 73 74 2c 63 68 65 |detachgt|list,che|
|00003de0| 63 6b 64 65 74 61 63 68 | 2c 30 7d 00 21 6e 61 6d |ckdetach|,0}.!nam|
|00003df0| 65 7b 22 44 65 74 61 63 | 68 47 54 4c 69 73 74 22 |e{"Detac|hGTList"|
|00003e00| 2c 22 47 54 4c 69 73 74 | 23 20 2d 20 52 65 6d 6f |,"GTList|# - Remo|
|00003e10| 76 65 73 20 61 20 47 54 | 4c 69 73 74 20 66 72 6f |ves a GT|List fro|
|00003e20| 6d 20 61 20 77 69 6e 64 | 6f 77 22 7d 00 00 00 21 |m a wind|ow"}...!|
|00003e30| 61 73 74 61 74 65 6d 65 | 6e 74 00 21 61 72 67 73 |astateme|nt.!args|
|00003e40| 7b 23 77 6f 72 64 7d 00 | 21 6c 69 62 73 00 21 73 |{#word}.|!libs.!s|
|00003e50| 75 62 73 7b 5f 67 74 67 | 7a 7a 70 6f 73 69 74 69 |ubs{_gtg|zzpositi|
|00003e60| 6f 6e 2c 30 2c 30 7d 00 | 21 6e 61 6d 65 7b 22 47 |on,0,0}.|!name{"G|
|00003e70| 54 47 5a 5a 50 6f 73 69 | 74 69 6f 6e 22 2c 22 4f |TGZZPosi|tion","O|
|00003e80| 6e 2f 4f 66 66 20 2d 20 | 54 75 72 6e 20 6f 6e 2f |n/Off - |Turn on/|
|00003e90| 6f 66 66 20 61 64 64 69 | 6e 67 20 6f 66 20 77 69 |off addi|ng of wi|
|00003ea0| 6e 64 6f 77 20 62 6f 72 | 64 65 72 73 20 74 6f 20 |ndow bor|ders to |
|00003eb0| 67 61 64 67 65 74 20 70 | 6f 73 69 74 69 6f 6e 73 |gadget p|ositions|
|00003ec0| 22 7d 00 00 00 21 61 73 | 74 61 74 65 6d 65 6e 74 |"}...!as|tatement|
|00003ed0| 00 21 61 72 67 73 7b 23 | 77 6f 72 64 2c 23 77 6f |.!args{#|word,#wo|
|00003ee0| 72 64 2c 23 6c 6f 6e 67 | 7d 00 21 6c 69 62 73 7b |rd,#long|}.!libs{|
|00003ef0| 23 6d 79 67 61 64 74 6f | 6f 6c 73 6c 69 62 2c 23 |#mygadto|olslib,#|
|00003f00| 69 61 31 7c 70 64 30 7d | 00 21 73 75 62 73 7b 5f |ia1|pd0}|.!subs{_|
|00003f10| 67 74 73 65 74 68 69 67 | 68 6c 69 67 68 74 2c 30 |gtsethig|hlight,0|
|00003f20| 2c 30 7d 00 21 6e 61 6d | 65 7b 22 47 54 53 65 74 |,0}.!nam|e{"GTSet|
|00003f30| 48 69 67 68 6c 69 67 68 | 74 22 2c 22 47 54 4c 69 |Highligh|t","GTLi|
|00003f40| 73 74 23 2c 69 64 2c 76 | 61 6c 75 65 20 2d 20 53 |st#,id,v|alue - S|
|00003f50| 65 74 20 68 69 67 68 6c | 69 67 68 74 65 64 20 69 |et highl|ighted i|
|00003f60| 74 65 6d 20 69 6e 20 47 | 54 4c 69 73 74 76 69 65 |tem in G|TListvie|
|00003f70| 77 22 7d 00 00 00 21 61 | 63 6f 6d 6d 61 6e 64 7b |w"}...!a|command{|
|00003f80| 23 77 6f 72 64 7d 00 21 | 61 72 67 73 7b 23 77 6f |#word}.!|args{#wo|
|00003f90| 72 64 2c 23 77 6f 72 64 | 7d 00 21 6c 69 62 73 7b |rd,#word|}.!libs{|
|00003fa0| 23 6d 79 67 61 64 74 6f | 6f 6c 73 6c 69 62 2c 23 |#mygadto|olslib,#|
|00003fb0| 69 61 31 7c 70 64 30 2c | 23 69 6e 74 75 69 74 69 |ia1|pd0,|#intuiti|
|00003fc0| 6f 6e 6c 69 62 2c 23 6c | 61 36 7d 00 21 73 75 62 |onlib,#l|a6}.!sub|
|00003fd0| 73 7b 5f 67 74 66 72 65 | 65 67 61 64 67 65 74 2c |s{_gtfre|egadget,|
|00003fe0| 30 2c 30 7d 00 21 6e 61 | 6d 65 7b 22 47 54 46 72 |0,0}.!na|me{"GTFr|
|00003ff0| 65 65 47 61 64 67 65 74 | 22 2c 22 5b 28 5d 47 54 |eeGadget|","[(]GT|
|00004000| 4c 69 73 74 23 2c 69 64 | 5b 29 5d 22 7d 00 00 00 |List#,id|[)]"}...|
|00004010| 21 61 73 74 61 74 65 6d | 65 6e 74 00 21 61 72 67 |!astatem|ent.!arg|
|00004020| 73 7b 23 77 6f 72 64 2c | 23 77 6f 72 64 7d 00 21 |s{#word,|#word}.!|
|00004030| 6c 69 62 73 7b 23 6d 79 | 67 61 64 74 6f 6f 6c 73 |libs{#my|gadtools|
|00004040| 6c 69 62 2c 23 69 61 31 | 7c 70 64 30 2c 23 69 6e |lib,#ia1||pd0,#in|
|00004050| 74 75 69 74 69 6f 6e 6c | 69 62 2c 23 6c 61 36 7d |tuitionl|ib,#la6}|
|00004060| 00 21 73 75 62 73 7b 5f | 67 74 61 63 74 69 76 61 |.!subs{_|gtactiva|
|00004070| 74 65 67 61 64 67 65 74 | 2c 30 2c 30 7d 00 21 6e |tegadget|,0,0}.!n|
|00004080| 61 6d 65 7b 22 47 54 41 | 63 74 69 76 61 74 65 47 |ame{"GTA|ctivateG|
|00004090| 61 64 67 65 74 22 2c 22 | 47 54 4c 69 73 74 23 2c |adget","|GTList#,|
|000040a0| 69 64 20 2d 20 41 63 74 | 69 76 61 74 65 73 20 61 |id - Act|ivates a|
|000040b0| 20 73 74 72 69 6e 67 2f | 63 75 73 74 6f 6d 20 67 | string/|custom g|
|000040c0| 61 64 67 65 74 22 7d 00 | 00 00 3b 20 4e 65 77 20 |adget"}.|..; New |
|000040d0| 61 64 64 69 74 69 6f 6e | 73 20 28 70 61 73 74 20 |addition|s (past |
|000040e0| 74 68 65 20 52 49 20 6c | 69 62 29 00 21 61 73 74 |the RI l|ib).!ast|
|000040f0| 61 74 65 6d 65 6e 74 00 | 21 61 72 67 73 7b 23 77 |atement.|!args{#w|
|00004100| 6f 72 64 7d 00 21 6c 69 | 62 73 00 21 73 75 62 73 |ord}.!li|bs.!subs|
|00004110| 7b 5f 67 74 6e 65 77 6c | 6f 6f 6b 70 72 6f 70 6d |{_gtnewl|ookpropm|
|00004120| 6f 64 65 2c 30 2c 30 7d | 00 21 61 72 67 73 7b 23 |ode,0,0}|.!args{#|
|00004130| 77 6f 72 64 2c 23 77 6f | 72 64 2c 23 77 6f 72 64 |word,#wo|rd,#word|
|00004140| 7d 00 21 6c 69 62 73 7b | 23 6d 79 67 61 64 74 6f |}.!libs{|#mygadto|
|00004150| 6f 6c 73 6c 69 62 2c 23 | 69 61 31 7c 70 64 30 7d |olslib,#|ia1|pd0}|
|00004160| 00 21 73 75 62 73 7b 5f | 67 74 6e 65 77 6c 6f 6f |.!subs{_|gtnewloo|
|00004170| 6b 70 72 6f 70 2c 30 2c | 30 7d 00 21 6e 61 6d 65 |kprop,0,|0}.!name|
|00004180| 7b 22 47 54 4e 65 77 4c | 6f 6f 6b 50 72 6f 70 22 |{"GTNewL|ookProp"|
|00004190| 2c 22 5b 4d 6f 64 65 3d | 4f 6e 2f 4f 66 66 5d 20 |,"[Mode=|On/Off] |
|000041a0| 6f 72 20 5b 47 54 4c 69 | 73 74 2c 49 44 2c 4f 6e |or [GTLi|st,ID,On|
|000041b0| 2f 4f 66 66 5d 22 7d 00 | 00 00 21 61 63 6f 6d 6d |/Off]"}.|..!acomm|
|000041c0| 61 6e 64 7b 23 6c 6f 6e | 67 7d 00 21 61 72 67 73 |and{#lon|g}.!args|
|000041d0| 7b 23 61 72 72 61 79 7d | 00 21 6c 69 62 73 00 21 |{#array}|.!libs.!|
|000041e0| 73 75 62 73 7b 5f 67 74 | 6c 69 73 74 61 64 64 72 |subs{_gt|listaddr|
|000041f0| 65 73 73 2c 30 2c 30 7d | 00 21 6e 61 6d 65 7b 22 |ess,0,0}|.!name{"|
|00004200| 47 54 4c 69 73 74 41 64 | 64 72 65 73 73 22 2c 22 |GTListAd|dress","|
|00004210| 28 4c 69 73 74 28 29 29 | 20 20 52 65 74 75 72 6e |(List())| Return|
|00004220| 73 20 61 64 64 72 65 73 | 73 20 6f 66 20 4c 69 73 |s addres|s of Lis|
|00004230| 74 20 68 65 61 64 65 72 | 20 73 74 72 75 63 74 75 |t header| structu|
|00004240| 72 65 22 7d 00 00 00 21 | 61 73 74 61 74 65 6d 65 |re"}...!|astateme|
|00004250| 6e 74 00 21 61 72 67 73 | 7b 23 6c 6f 6e 67 7d 00 |nt.!args|{#long}.|
|00004260| 21 6c 69 62 73 00 21 73 | 75 62 73 7b 5f 67 74 75 |!libs.!s|ubs{_gtu|
|00004270| 73 65 72 64 61 74 61 2c | 30 2c 30 7d 00 21 6e 61 |serdata,|0,0}.!na|
|00004280| 6d 65 7b 22 47 54 55 73 | 65 72 44 61 74 61 22 2c |me{"GTUs|erData",|
|00004290| 22 55 73 65 72 44 61 74 | 61 2e 6c 20 2d 20 53 65 |"UserDat|a.l - Se|
|000042a0| 74 20 75 73 65 72 64 61 | 74 61 20 66 6f 72 20 6e |t userda|ta for n|
|000042b0| 65 78 74 20 67 61 64 67 | 65 74 20 63 72 65 61 74 |ext gadg|et creat|
|000042c0| 65 64 22 7d 00 00 00 21 | 61 63 6f 6d 6d 61 6e 64 |ed"}...!|acommand|
|000042d0| 7b 23 6c 6f 6e 67 7d 00 | 21 61 72 67 73 7b 23 77 |{#long}.|!args{#w|
|000042e0| 6f 72 64 2c 23 77 6f 72 | 64 2c 23 73 74 72 69 6e |ord,#wor|d,#strin|
|000042f0| 67 7d 00 21 6c 69 62 73 | 7b 23 6d 79 67 61 64 74 |g}.!libs|{#mygadt|
|00004300| 6f 6f 6c 73 6c 69 62 2c | 23 69 61 30 7c 70 64 30 |oolslib,|#ia0|pd0|
|00004310| 2c 23 69 6e 74 75 69 74 | 69 6f 6e 6c 69 62 2c 23 |,#intuit|ionlib,#|
|00004320| 6c 61 36 7d 00 21 73 75 | 62 73 7b 5f 67 74 63 68 |la6}.!su|bs{_gtch|
|00004330| 61 6e 67 65 63 79 63 6c | 65 2c 30 2c 30 7d 00 21 |angecycl|e,0,0}.!|
|00004340| 6e 61 6d 65 7b 22 47 54 | 43 68 61 6e 67 65 43 79 |name{"GT|ChangeCy|
|00004350| 63 6c 65 22 2c 22 5b 28 | 5d 47 54 4c 69 73 74 2e |cle","[(|]GTList.|
|00004360| 77 2c 49 44 2e 77 2c 4f | 70 74 69 6f 6e 24 5b 29 |w,ID.w,O|ption$[)|
|00004370| 5d 20 2d 20 43 68 61 6e | 67 65 20 63 6f 6e 74 65 |] - Chan|ge conte|
|00004380| 6e 74 73 20 6f 66 20 47 | 54 43 79 63 6c 65 20 67 |nts of G|TCycle g|
|00004390| 61 64 67 65 74 22 7d 00 | 00 00 21 61 66 75 6e 63 |adget"}.|..!afunc|
|000043a0| 74 69 6f 6e 7b 23 6c 6f | 6e 67 7d 00 21 61 72 67 |tion{#lo|ng}.!arg|
|000043b0| 73 00 21 6c 69 62 73 00 | 21 73 75 62 73 7b 5f 67 |s.!libs.|!subs{_g|
|000043c0| 74 67 65 74 69 6e 74 65 | 72 6e 61 6c 2c 30 2c 30 |tgetinte|rnal,0,0|
|000043d0| 7d 00 21 6e 61 6d 65 7b | 22 47 54 47 65 74 49 6e |}.!name{|"GTGetIn|
|000043e0| 74 65 72 6e 61 6c 22 2c | 22 52 65 74 75 72 6e 73 |ternal",|"Returns|
|000043f0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 69 6e 74 65 | pointer| to inte|
|00004400| 72 6e 61 6c 20 6c 69 73 | 74 20 6f 66 20 6d 65 6d |rnal lis|t of mem|
|00004410| 6f 72 79 20 61 6c 6c 6f | 63 61 74 69 6f 6e 73 22 |ory allo|cations"|
|00004420| 7d 00 00 00 21 61 73 74 | 61 74 65 6d 65 6e 74 00 |}...!ast|atement.|
|00004430| 21 61 72 67 73 7b 23 77 | 6f 72 64 7d 00 21 6c 69 |!args{#w|ord}.!li|
|00004440| 62 73 00 21 73 75 62 73 | 7b 5f 67 74 75 6e 64 65 |bs.!subs|{_gtunde|
|00004450| 72 73 63 6f 72 65 2c 30 | 2c 30 7d 00 21 6e 61 6d |rscore,0|,0}.!nam|
|00004460| 65 7b 22 47 54 55 6e 64 | 65 72 73 63 6f 72 65 22 |e{"GTUnd|erscore"|
|00004470| 2c 20 22 63 68 61 72 2e | 77 20 2d 20 53 65 74 73 |, "char.|w - Sets|
|00004480| 20 74 68 65 20 41 53 43 | 49 49 20 63 6f 64 65 20 | the ASC|II code |
|00004490| 6f 66 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |of the c|haracter|
|000044a0| 20 74 6f 20 75 73 65 20 | 61 73 20 74 68 65 20 75 | to use |as the u|
|000044b0| 6e 64 65 72 73 63 6f 72 | 65 20 69 6e 64 69 63 61 |nderscor|e indica|
|000044c0| 74 6f 72 22 7d 00 00 00 | 21 61 66 75 6e 63 74 69 |tor"}...|!afuncti|
|000044d0| 6f 6e 7b 23 6c 6f 6e 67 | 7d 00 21 61 72 67 73 00 |on{#long|}.!args.|
|000044e0| 21 6c 69 62 73 00 21 73 | 75 62 73 7b 5f 67 74 65 |!libs.!s|ubs{_gte|
|000044f0| 76 65 6e 74 73 65 63 6f | 6e 64 73 2c 30 2c 30 7d |ventseco|nds,0,0}|
|00004500| 00 21 6e 61 6d 65 7b 22 | 47 54 45 76 65 6e 74 53 |.!name{"|GTEventS|
|00004510| 65 63 6f 6e 64 73 22 2c | 22 2d 20 54 65 6c 6c 73 |econds",|"- Tells|
|00004520| 20 79 6f 75 20 74 68 65 | 20 73 65 63 6f 6e 64 73 | you the| seconds|
|00004530| 20 61 74 20 77 68 69 63 | 68 20 74 68 65 20 6c 61 | at whic|h the la|
|00004540| 73 74 20 65 76 65 6e 74 | 20 6f 63 63 75 72 72 65 |st event| occurre|
|00004550| 64 22 7d 00 00 00 21 61 | 66 75 6e 63 74 69 6f 6e |d"}...!a|function|
|00004560| 7b 23 6c 6f 6e 67 7d 00 | 21 61 72 67 73 00 21 6c |{#long}.|!args.!l|
|00004570| 69 62 73 00 21 73 75 62 | 73 7b 5f 67 74 65 76 65 |ibs.!sub|s{_gteve|
|00004580| 6e 74 6d 69 63 72 6f 73 | 2c 30 2c 30 7d 00 21 6e |ntmicros|,0,0}.!n|
|00004590| 61 6d 65 7b 22 47 54 45 | 76 65 6e 74 4d 69 63 72 |ame{"GTE|ventMicr|
|000045a0| 6f 73 22 2c 22 2d 20 54 | 65 6c 6c 73 20 79 6f 75 |os","- T|ells you|
|000045b0| 20 74 68 65 20 6d 69 63 | 72 6f 73 65 63 6f 6e 64 | the mic|rosecond|
|000045c0| 73 20 61 74 20 77 68 69 | 63 68 20 74 68 65 20 6c |s at whi|ch the l|
|000045d0| 61 73 74 20 65 76 65 6e | 74 20 6f 63 63 75 72 72 |ast even|t occurr|
|000045e0| 65 64 22 7d 00 00 00 69 | 6e 69 74 3a 21 6e 75 6c |ed"}...i|nit:!nul|
|000045f0| 6c 73 75 62 7b 5f 63 6f | 64 65 69 6e 69 74 2c 30 |lsub{_co|deinit,0|
|00004600| 2c 30 7d 00 66 69 6e 69 | 74 3a 21 6e 75 6c 6c 73 |,0}.fini|t:!nulls|
|00004610| 75 62 7b 5f 63 6f 64 65 | 66 69 6e 69 74 2c 30 2c |ub{_code|finit,0,|
|00004620| 30 7d 00 5f 6c 6f 61 64 | 3a 21 6e 75 6c 6c 73 75 |0}._load|:!nullsu|
|00004630| 62 7b 30 2c 30 2c 30 7d | 00 5f 73 61 76 65 3a 21 |b{0,0,0}|._save:!|
|00004640| 6e 75 6c 6c 73 75 62 7b | 30 2c 30 2c 30 7d 00 5f |nullsub{|0,0,0}._|
|00004650| 75 73 65 3a 21 6e 75 6c | 6c 73 75 62 7b 30 2c 30 |use:!nul|lsub{0,0|
|00004660| 2c 30 7d 00 5f 66 72 65 | 65 3a 21 6e 75 6c 6c 73 |,0}._fre|e:!nulls|
|00004670| 75 62 7b 5f 66 72 65 65 | 63 6f 6e 74 65 78 74 2c |ub{_free|context,|
|00004680| 30 2c 30 7d 00 21 6c 69 | 62 66 69 6e 7b 5f 74 6f |0,0}.!li|bfin{_to|
|00004690| 6b 65 2c 5f 6c 6f 61 64 | 2c 5f 73 61 76 65 2c 5f |ke,_load|,_save,_|
|000046a0| 75 73 65 2c 5f 66 72 65 | 65 2c 35 2c 34 7d 20 3b |use,_fre|e,5,4} ;|
|000046b0| 64 6f 6e 27 74 20 63 68 | 61 6e 67 65 21 21 21 28 |don't ch|ange!!!(|
|000046c0| 63 6c 75 64 67 65 64 29 | 00 00 3b 2d 2d 2d 2d 2d |cludged)|..;-----|
|000046d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 00 00 80 01 20 |--------|---.... |
|00004710| 2e 67 74 63 6f 6e 74 65 | 78 74 00 20 20 6d 79 63 |.gtconte|xt. myc|
|00004720| 6f 6e 74 65 78 74 2e 6c | 20 20 20 20 20 20 20 20 |ontext.l| |
|00004730| 3b 30 20 70 6f 69 6e 74 | 73 20 74 6f 20 63 6f 6e |;0 point|s to con|
|00004740| 74 65 78 74 00 20 20 76 | 69 73 75 61 6c 69 6e 66 |text. v|isualinf|
|00004750| 6f 2e 6c 20 20 20 20 20 | 20 20 3b 34 20 6f 75 72 |o.l | ;4 our|
|00004760| 20 76 69 73 75 61 6c 20 | 69 6e 66 6f 20 66 72 6f | visual |info fro|
|00004770| 6d 20 63 75 72 72 65 6e | 74 20 73 63 72 65 65 6e |m curren|t screen|
|00004780| 00 20 20 63 75 72 72 65 | 6e 74 2e 6c 20 20 20 20 |. curre|nt.l |
|00004790| 20 20 20 20 20 20 3b 38 | 20 63 75 72 72 65 6e 74 | ;8| current|
|000047a0| 20 67 61 64 67 65 74 00 | 20 20 67 74 77 69 6e 64 | gadget.| gtwind|
|000047b0| 6f 77 2e 6c 20 20 20 20 | 20 20 20 20 20 3b 31 32 |ow.l | ;12|
|000047c0| 20 77 69 6e 64 6f 77 20 | 67 61 64 67 65 74 6c 69 | window |gadgetli|
|000047d0| 73 74 20 69 73 20 61 74 | 74 61 63 68 65 64 20 74 |st is at|tached t|
|000047e0| 6f 00 80 02 20 80 01 00 | 00 00 3b 20 49 6e 74 65 |o... ...|..; Inte|
|000047f0| 72 6e 61 6c 20 67 61 64 | 67 65 74 20 6c 69 73 74 |rnal gad|get list|
|00004800| 00 80 01 2e 67 74 69 6e | 6c 69 73 74 00 20 20 2a |....gtin|list. *|
|00004810| 53 75 63 63 2e 67 74 69 | 6e 6c 69 73 74 20 20 20 |Succ.gti|nlist |
|00004820| 20 3b 20 50 6f 69 6e 74 | 65 72 20 74 6f 20 6e 65 | ; Point|er to ne|
|00004830| 78 74 20 67 61 64 67 65 | 74 00 20 20 2a 47 61 64 |xt gadge|t. *Gad|
|00004840| 2e 47 61 64 67 65 74 20 | 20 20 20 20 20 20 3b 20 |.Gadget | ; |
|00004850| 50 6f 69 6e 74 65 72 20 | 74 6f 20 67 61 64 67 65 |Pointer |to gadge|
|00004860| 74 20 72 65 74 75 72 6e | 65 64 20 62 79 20 43 72 |t return|ed by Cr|
|00004870| 65 61 74 65 47 61 64 67 | 65 74 00 20 20 2a 54 65 |eateGadg|et. *Te|
|00004880| 78 74 2e 62 20 20 20 20 | 20 20 20 20 20 20 20 3b |xt.b | ;|
|00004890| 20 47 61 64 67 65 74 20 | 74 65 78 74 20 28 69 66 | Gadget |text (if|
|000048a0| 20 72 65 71 75 69 72 65 | 64 29 00 20 20 53 70 65 | require|d). Spe|
|000048b0| 63 69 61 6c 2e 6c 20 20 | 20 20 20 20 20 20 20 3b |cial.l | ;|
|000048c0| 20 54 68 65 20 73 70 65 | 63 69 61 6c 20 73 74 75 | The spe|cial stu|
|000048d0| 66 66 20 28 73 69 7a 65 | 2e 6c 20 73 74 6f 72 65 |ff (size|.l store|
|000048e0| 64 20 61 74 20 28 2d 34 | 2c 53 70 65 63 69 61 6c |d at (-4|,Special|
|000048f0| 29 29 00 20 20 69 64 2e | 77 20 20 20 20 20 20 20 |)). id.|w |
|00004900| 20 20 20 20 20 20 20 3b | 20 67 61 64 67 65 74 20 | ;| gadget |
|00004910| 49 44 00 20 20 70 61 64 | 2e 77 00 80 02 20 80 01 |ID. pad|.w... ..|
|00004920| 00 00 80 01 2e 67 74 69 | 6c 00 20 20 2a 53 75 63 |.....gti|l. *Suc|
|00004930| 63 2e 67 74 69 6c 00 20 | 20 2a 46 69 72 73 74 2e |c.gtil. | *First.|
|00004940| 67 74 69 6e 6c 69 73 74 | 00 20 20 2a 67 74 6c 73 |gtinlist|. *gtls|
|00004950| 74 2e 67 74 63 6f 6e 74 | 65 78 74 20 3b 20 47 54 |t.gtcont|ext ; GT|
|00004960| 4c 69 73 74 20 70 6f 69 | 6e 74 65 72 00 20 20 70 |List poi|nter. p|
|00004970| 61 64 2e 77 00 80 02 20 | 80 01 00 00 00 80 0d 20 |ad.w... |....... |
|00004980| 73 20 80 2f 2e 53 63 72 | 65 65 6e 5c 60 31 20 80 |s ./.Scr|een\`1 .|
|00004990| 02 20 80 0d 00 80 0d 20 | 6e 20 80 2f 2e 4e 65 77 |. ..... |n ./.New|
|000049a0| 47 61 64 67 65 74 5c 60 | 31 20 80 02 20 80 0d 00 |Gadget\`|1 .. ...|
|000049b0| 80 0d 20 67 20 80 2f 2e | 47 61 64 67 65 74 5c 60 |.. g ./.|Gadget\`|
|000049c0| 31 20 80 02 20 80 0d 00 | 00 00 3b 20 50 75 73 68 |1 .. ...|..; Push|
|000049d0| 20 61 72 67 75 6d 65 6e | 74 73 20 6f 6e 74 6f 20 | argumen|ts onto |
|000049e0| 73 74 61 63 6b 2c 20 6c | 61 73 74 20 66 69 72 73 |stack, l|ast firs|
|000049f0| 74 00 3b 20 21 50 55 54 | 53 54 52 7b 69 64 2c 22 |t.; !PUT|STR{id,"|
|00004a00| 72 61 77 64 6f 66 6d 74 | 20 73 74 72 69 6e 67 22 |rawdofmt| string"|
|00004a10| 7d 00 3b 20 52 65 6d 6f | 76 65 20 61 72 67 73 20 |}.; Remo|ve args |
|00004a20| 66 72 6f 6d 20 73 74 61 | 63 6b 00 3b 20 65 2e 67 |from sta|ck.; e.g|
|00004a30| 2e 3a 00 3b 2e 73 6f 6d | 65 72 6f 75 74 69 6e 65 |.:.;.som|eroutine|
|00004a40| 3a 00 3b 43 4e 49 46 20 | 20 20 20 23 44 45 42 55 |:.;CNIF | #DEBU|
|00004a50| 47 3d 31 00 3b 20 20 20 | 20 50 45 41 2e 6c 20 20 |G=1.; | PEA.l |
|00004a60| 20 24 44 45 41 44 42 45 | 45 46 00 3b 20 20 20 20 | $DEADBE|EF.; |
|00004a70| 21 50 55 54 53 54 52 7b | 30 30 31 2c 22 46 69 69 |!PUTSTR{|001,"Fii|
|00004a80| 69 69 69 69 69 73 74 3a | 20 24 25 6c 58 22 7d 00 |iiiiist:| $%lX"}.|
|00004a90| 3b 20 20 20 20 4c 45 41 | 2e 6c 20 20 20 34 28 61 |; LEA|.l 4(a|
|00004aa0| 37 29 2c 61 37 00 3b 43 | 45 4e 44 00 00 00 80 0d |7),a7.;C|END.....|
|00004ab0| 20 50 55 54 53 54 52 00 | 20 20 20 20 80 82 2e 6c | PUTSTR.| ...l|
|00004ac0| 20 64 30 2d 64 31 2f 61 | 30 2d 61 31 2c 2d 28 61 | d0-d1/a|0-a1,-(a|
|00004ad0| 37 29 00 20 20 20 20 80 | 7a 2e 6c 20 20 20 27 6d |7). .|z.l 'm|
|00004ae0| 73 67 5f 60 31 28 70 63 | 29 2c 61 30 00 20 20 20 |sg_`1(pc|),a0. |
|00004af0| 20 80 7a 2e 6c 20 20 20 | 34 2a 34 28 61 37 29 2c | .z.l |4*4(a7),|
|00004b00| 61 31 00 20 20 20 20 80 | 79 20 20 20 20 20 64 62 |a1. .|y db|
|00004b10| 6f 75 74 70 75 74 00 20 | 20 20 20 80 82 2e 6c 20 |output. | ...l |
|00004b20| 28 61 37 29 2b 2c 64 30 | 2d 64 31 2f 61 30 2d 61 |(a7)+,d0|-d1/a0-a|
|00004b30| 31 00 20 20 20 20 80 58 | 20 20 20 20 20 27 73 6b |1. .X| 'sk|
|00004b40| 69 70 5f 60 31 00 20 20 | 20 20 27 6d 73 67 5f 60 |ip_`1. | 'msg_`|
|00004b50| 31 3a 20 80 25 2e 62 20 | 60 32 2c 31 30 2c 30 20 |1: .%.b |`2,10,0 |
|00004b60| 3a 20 80 27 00 20 20 20 | 20 27 73 6b 69 70 5f 60 |: .'. | 'skip_`|
|00004b70| 31 3a 00 80 02 20 80 0d | 00 00 2e 49 6e 74 65 72 |1:... ..|...Inter|
|00004b80| 6e 61 6c 73 00 3b 20 44 | 65 62 75 67 67 69 6e 67 |nals.; D|ebugging|
|00004b90| 20 63 6f 64 65 00 3b 20 | 61 30 20 3d 20 70 6f 69 | code.; |a0 = poi|
|00004ba0| 6e 74 65 72 20 74 6f 20 | 66 6f 72 6d 61 74 20 73 |nter to |format s|
|00004bb0| 74 72 69 6e 67 00 3b 20 | 61 31 20 3d 20 70 6f 69 |tring.; |a1 = poi|
|00004bc0| 6e 74 65 72 20 74 6f 20 | 61 72 67 75 6d 65 6e 74 |nter to |argument|
|00004bd0| 73 00 64 62 6f 75 74 70 | 75 74 3a 00 20 20 20 20 |s.dboutp|ut:. |
|00004be0| 80 82 2e 6c 20 64 30 2d | 64 31 2f 61 30 2d 61 33 |...l d0-|d1/a0-a3|
|00004bf0| 2f 61 36 2c 2d 28 61 37 | 29 00 20 20 20 20 80 7e |/a6,-(a7|). .~|
|00004c00| 2e 6c 20 20 34 2c 61 36 | 20 20 20 20 20 20 20 20 |.l 4,a6| |
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c20| 20 20 20 20 3b 20 50 6f | 69 6e 74 65 72 20 74 6f | ; Po|inter to|
|00004c30| 20 65 78 65 63 62 61 73 | 65 00 20 20 20 20 80 7a | execbas|e. .z|
|00004c40| 20 20 20 20 20 27 4b 50 | 75 74 43 68 61 72 28 70 | 'KP|utChar(p|
|00004c50| 63 29 2c 61 32 20 20 20 | 20 20 20 20 20 20 20 20 |c),a2 | |
|00004c60| 20 20 20 20 20 3b 20 50 | 6f 69 6e 74 65 72 20 74 | ; P|ointer t|
|00004c70| 6f 20 74 68 65 20 72 6f | 75 74 69 6e 65 20 66 6f |o the ro|utine fo|
|00004c80| 72 20 64 75 6d 70 69 6e | 67 20 63 68 61 72 73 20 |r dumpin|g chars |
|00004c90| 63 61 6c 6c 65 64 20 62 | 79 20 52 61 77 44 6f 46 |called b|y RawDoF|
|00004ca0| 6d 74 00 20 20 20 20 80 | a7 2e 6c 20 20 20 61 33 |mt. .|..l a3|
|00004cb0| 2c 61 33 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,a3 | |
|00004cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00004cd0| 43 6c 65 61 72 20 61 33 | 00 20 20 20 20 80 79 20 |Clear a3|. .y |
|00004ce0| 20 20 20 20 5f 4c 56 4f | 52 61 77 44 6f 46 6d 74 | _LVO|RawDoFmt|
|00004cf0| 28 61 36 29 20 20 20 20 | 20 20 20 20 20 20 20 20 |(a6) | |
|00004d00| 20 20 20 20 3b 20 43 61 | 6c 6c 20 65 78 65 63 2e | ; Ca|ll exec.|
|00004d10| 6c 69 62 72 61 72 79 2f | 52 61 77 44 6f 46 6d 74 |library/|RawDoFmt|
|00004d20| 28 29 00 20 20 20 20 80 | 82 2e 6c 20 28 61 37 29 |(). .|..l (a7)|
|00004d30| 2b 2c 64 30 2d 64 31 2f | 61 30 2d 61 33 2f 61 36 |+,d0-d1/|a0-a3/a6|
|00004d40| 00 20 20 20 20 80 94 00 | 00 20 20 20 20 27 4b 50 |. ...|. 'KP|
|00004d50| 75 74 43 68 61 72 3a 00 | 20 20 20 20 80 7e 2e 6c |utChar:.| .~.l|
|00004d60| 20 20 61 36 2c 2d 28 61 | 37 29 00 20 20 20 20 80 | a6,-(a|7). .|
|00004d70| 7e 2e 6c 20 20 34 2c 61 | 36 20 20 20 20 20 20 20 |~.l 4,a|6 |
|00004d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d90| 20 20 20 20 20 3b 20 65 | 78 65 63 62 61 73 65 00 | ; e|xecbase.|
|00004da0| 20 20 20 20 80 79 20 20 | 20 20 20 5f 4c 56 4f 52 | .y | _LVOR|
|00004db0| 61 77 50 75 74 43 68 61 | 72 28 61 36 29 20 20 20 |awPutCha|r(a6) |
|00004dc0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 70 72 69 | | ; pri|
|00004dd0| 6e 74 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 20 |nt chara|cter in |
|00004de0| 64 30 3a 37 2d 30 20 74 | 6f 20 73 65 72 3a 00 20 |d0:7-0 t|o ser:. |
|00004df0| 20 20 20 80 7e 2e 6c 20 | 20 28 61 37 29 2b 2c 61 | .~.l | (a7)+,a|
|00004e00| 36 00 20 20 20 20 80 94 | 00 00 00 2e 5f 63 6f 64 |6. ..|...._cod|
|00004e10| 65 69 6e 69 74 3a 00 20 | 20 20 20 80 7a 20 20 20 |einit:. | .z |
|00004e20| 20 20 67 74 6e 61 6d 65 | 28 70 63 29 2c 61 31 00 | gtname|(pc),a1.|
|00004e30| 20 20 20 20 80 81 20 20 | 20 23 30 2c 64 30 00 20 | .. | #0,d0. |
|00004e40| 20 20 20 80 7e 2e 6c 20 | 20 34 2c 61 36 00 20 20 | .~.l | 4,a6. |
|00004e50| 20 20 80 79 20 20 20 20 | 20 5f 4c 56 4f 4f 70 65 | .y | _LVOOpe|
|00004e60| 6e 4c 69 62 72 61 72 79 | 28 61 36 29 00 20 20 20 |nLibrary|(a6). |
|00004e70| 20 80 7e 2e 6c 20 20 64 | 30 2c 67 74 62 61 73 65 | .~.l d|0,gtbase|
|00004e80| 00 20 20 20 20 80 48 20 | 20 20 20 20 27 66 61 69 |. .H | 'fai|
|00004e90| 6c 69 6e 69 74 00 20 20 | 20 20 80 7e 2e 6c 20 20 |linit. | .~.l |
|00004ea0| 23 5f 70 72 65 68 61 6e | 64 6c 65 72 2c 64 30 00 |#_prehan|dler,d0.|
|00004eb0| 20 20 20 20 80 7e 2e 6c | 20 20 23 5f 70 6f 73 74 | .~.l| #_post|
|00004ec0| 68 61 6e 64 6c 65 72 2c | 64 31 00 20 20 20 20 80 |handler,|d1. .|
|00004ed0| 38 20 c5 3a 00 20 20 20 | 20 27 66 61 69 6c 69 6e |8 .:. | 'failin|
|00004ee0| 69 74 3a 00 20 20 20 20 | 80 5b 2e 77 20 20 20 67 |it:. |.[.w g|
|00004ef0| 7a 7a 70 6f 73 20 20 20 | 20 20 20 20 20 20 20 20 |zzpos | |
|00004f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00004f10| 20 73 65 74 20 67 7a 7a | 20 66 6c 61 67 20 74 6f | set gzz| flag to|
|00004f20| 20 6f 66 66 20 69 6e 69 | 74 69 61 6c 6c 79 00 20 | off ini|tially. |
|00004f30| 20 20 20 80 5b 2e 77 20 | 20 20 70 72 6f 70 6d 6f | .[.w | propmo|
|00004f40| 64 65 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |de | |
|00004f50| 20 20 20 20 20 20 20 20 | 20 20 3b 20 73 65 74 20 | | ; set |
|00004f60| 70 72 6f 70 6d 6f 64 65 | 20 74 6f 20 6f 66 66 20 |propmode| to off |
|00004f70| 69 6e 69 74 69 61 6c 6c | 79 00 20 20 20 20 80 5b |initiall|y. .[|
|00004f80| 2e 6c 20 20 20 69 6e 74 | 65 72 6e 61 6c 67 6c 69 |.l int|ernalgli|
|00004f90| 73 74 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |st | |
|00004fa0| 20 20 20 20 20 3b 20 4e | 55 4c 4c 20 70 6f 69 6e | ; N|ULL poin|
|00004fb0| 74 65 72 20 74 6f 20 68 | 65 61 64 20 6f 66 20 69 |ter to h|ead of i|
|00004fc0| 6e 74 65 72 6e 61 6c 20 | 6d 61 6c 6c 6f 63 20 6c |nternal |malloc l|
|00004fd0| 69 73 74 00 20 20 20 20 | 80 81 2e 6c 20 23 31 36 |ist. |...l #16|
|00004fe0| 2c 64 30 00 20 20 20 20 | 80 7e 2e 77 20 20 64 30 |,d0. |.~.w d0|
|00004ff0| 2c 61 72 72 6f 77 73 69 | 7a 65 20 20 20 20 20 20 |,arrowsi|ze |
|00005000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00005010| 53 74 6f 72 65 20 64 65 | 66 61 75 6c 74 20 73 69 |Store de|fault si|
|00005020| 7a 65 20 6f 66 20 61 72 | 72 6f 77 73 20 69 6e 20 |ze of ar|rows in |
|00005030| 73 63 72 6f 6c 6c 65 72 | 2c 20 73 6c 69 64 65 72 |scroller|, slider|
|00005040| 73 2c 20 65 74 63 00 20 | 20 20 20 80 81 2e 6c 20 |s, etc. | ...l |
|00005050| 23 39 35 2c 64 30 00 20 | 20 20 20 80 7e 2e 77 20 |#95,d0. | .~.w |
|00005060| 20 64 30 2c 75 6e 64 65 | 72 73 63 6f 72 65 20 20 | d0,unde|rscore |
|00005070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005080| 20 3b 20 53 74 6f 72 65 | 20 41 53 43 49 49 20 63 | ; Store| ASCII c|
|00005090| 6f 64 65 20 66 6f 72 20 | 64 65 66 61 75 6c 74 20 |ode for |default |
|000050a0| 75 6e 64 65 72 73 63 6f | 72 65 20 69 6e 64 69 63 |undersco|re indic|
|000050b0| 61 74 6f 72 00 20 20 20 | 20 80 5b 2e 6c 20 20 20 |ator. | .[.l |
|000050c0| 65 76 73 65 63 6f 6e 64 | 73 00 20 20 20 20 80 5b |evsecond|s. .[|
|000050d0| 2e 6c 20 20 20 65 76 6d | 69 63 72 6f 73 00 20 20 |.l evm|icros. |
|000050e0| 20 20 80 94 00 00 00 3b | 20 49 20 68 6f 70 65 20 | .....;| I hope |
|000050f0| 74 68 65 20 66 72 65 65 | 20 72 6f 75 74 69 6e 65 |the free| routine|
|00005100| 20 67 65 74 73 20 63 61 | 6c 6c 65 64 20 66 6f 72 | gets ca|lled for|
|00005110| 20 61 6c 6c 20 6f 62 6a | 65 63 74 73 20 62 65 66 | all obj|ects bef|
|00005120| 6f 72 65 20 74 68 65 20 | 63 6f 64 65 66 69 6e 69 |ore the |codefini|
|00005130| 74 20 72 6f 75 74 69 6e | 65 20 3a 29 00 2e 5f 63 |t routin|e :).._c|
|00005140| 6f 64 65 66 69 6e 69 74 | 3a 00 20 20 20 20 80 7e |odefinit|:. .~|
|00005150| 2e 6c 20 20 67 74 62 61 | 73 65 28 70 63 29 2c 64 |.l gtba|se(pc),d|
|00005160| 30 00 20 20 20 20 80 48 | 20 20 20 20 20 27 6e 6f |0. .H| 'no|
|00005170| 63 6c 6f 73 65 00 20 20 | 20 20 80 7e 2e 6c 20 20 |close. | .~.l |
|00005180| 64 30 2c 61 31 00 20 20 | 20 20 80 7e 2e 6c 20 20 |d0,a1. | .~.l |
|00005190| 34 2c 61 36 00 20 20 20 | 20 80 79 20 20 20 20 20 |4,a6. | .y |
|000051a0| 5f 4c 56 4f 43 6c 6f 73 | 65 4c 69 62 72 61 72 79 |_LVOClos|eLibrary|
|000051b0| 28 61 36 29 00 20 20 20 | 20 80 5b 2e 6c 20 20 20 |(a6). | .[.l |
|000051c0| 67 74 62 61 73 65 00 20 | 20 20 20 27 6e 6f 63 6c |gtbase. | 'nocl|
|000051d0| 6f 73 65 3a 00 00 20 20 | 20 20 3b 20 66 72 65 65 |ose:.. | ; free|
|000051e0| 20 74 68 65 20 6d 65 6d | 6f 72 79 20 69 6e 20 74 | the mem|ory in t|
|000051f0| 68 65 20 69 6e 74 65 72 | 6e 61 6c 20 6c 69 73 74 |he inter|nal list|
|00005200| 20 6f 66 20 73 74 75 66 | 66 00 20 20 20 20 80 79 | of stuf|f. .y|
|00005210| 20 20 20 20 20 72 65 6d | 69 6e 74 65 72 6e 61 6c | rem|internal|
|00005220| 6c 69 73 74 00 20 20 20 | 20 80 94 00 00 00 2e 5f |list. | ......_|
|00005230| 70 72 65 68 61 6e 64 6c | 65 72 3a 00 20 20 20 20 |prehandl|er:. |
|00005240| 80 7e 2e 6c 20 20 64 30 | 2c 61 31 00 20 20 20 20 |.~.l d0|,a1. |
|00005250| 80 7e 2e 6c 20 20 7b 80 | 2f 2e 49 6e 74 75 69 4d |.~.l {.|/.IntuiM|
|00005260| 65 73 73 61 67 65 5c 53 | 65 63 6f 6e 64 73 7d 28 |essage\S|econds}(|
|00005270| 61 31 29 2c 65 76 73 65 | 63 6f 6e 64 73 00 20 20 |a1),evse|conds. |
|00005280| 20 20 80 7e 2e 6c 20 20 | 7b 80 2f 2e 49 6e 74 75 | .~.l |{./.Intu|
|00005290| 69 4d 65 73 73 61 67 65 | 5c 4d 69 63 72 6f 73 7d |iMessage|\Micros}|
|000052a0| 28 61 31 29 2c 65 76 6d | 69 63 72 6f 73 00 20 20 |(a1),evm|icros. |
|000052b0| 20 20 80 7e 2e 6c 20 20 | 67 74 62 61 73 65 28 70 | .~.l |gtbase(p|
|000052c0| 63 29 2c 61 36 00 20 20 | 20 20 80 79 20 20 20 20 |c),a6. | .y |
|000052d0| 20 5f 46 69 6c 74 65 72 | 49 4d 73 67 28 61 36 29 | _Filter|IMsg(a6)|
|000052e0| 00 20 20 20 20 80 7e 2e | 6c 20 20 34 2c 61 36 00 |. .~.|l 4,a6.|
|000052f0| 20 20 20 20 80 94 00 00 | 2e 5f 70 6f 73 74 68 61 | ....|._postha|
|00005300| 6e 64 6c 65 72 3a 00 20 | 20 20 20 80 7e 2e 6c 20 |ndler:. | .~.l |
|00005310| 20 64 30 2c 61 31 00 20 | 20 20 20 80 7e 2e 6c 20 | d0,a1. | .~.l |
|00005320| 20 67 74 62 61 73 65 28 | 70 63 29 2c 61 36 00 20 | gtbase(|pc),a6. |
|00005330| 20 20 20 80 79 20 20 20 | 20 20 5f 50 6f 73 74 46 | .y | _PostF|
|00005340| 69 6c 74 65 72 49 4d 73 | 67 28 61 36 29 00 20 20 |ilterIMs|g(a6). |
|00005350| 20 20 80 7e 2e 6c 20 20 | 34 2c 61 36 00 20 20 20 | .~.l |4,a6. |
|00005360| 20 80 94 00 00 00 3b 20 | 41 64 64 73 20 70 6f 69 | .....; |Adds poi|
|00005370| 6e 74 65 72 20 74 6f 20 | 74 68 65 20 67 61 64 67 |nter to |the gadg|
|00005380| 65 74 20 74 6f 20 74 68 | 65 20 69 6e 74 65 72 6e |et to th|e intern|
|00005390| 61 6c 20 67 61 64 67 65 | 74 20 6c 69 73 74 00 3b |al gadge|t list.;|
|000053a0| 20 64 30 2e 6c 20 3d 20 | 67 61 64 67 65 74 20 49 | d0.l = |gadget I|
|000053b0| 44 00 3b 20 64 31 2e 6c | 20 3d 20 70 6f 69 6e 74 |D.; d1.l| = point|
|000053c0| 65 72 20 74 6f 20 67 74 | 6c 69 73 74 00 3b 20 52 |er to gt|list.; R|
|000053d0| 65 74 75 72 6e 73 20 70 | 6f 69 6e 74 65 72 20 74 |eturns p|ointer t|
|000053e0| 6f 20 6e 65 77 20 67 74 | 6c 69 73 74 69 6e 74 65 |o new gt|listinte|
|000053f0| 72 6e 61 6c 20 69 74 65 | 6d 20 74 68 69 6e 67 79 |rnal ite|m thingy|
|00005400| 00 2e 61 64 64 67 61 64 | 70 74 72 3a 00 20 20 20 |..addgad|ptr:. |
|00005410| 20 80 82 2e 6c 20 64 31 | 2d 64 33 2f 61 30 2d 61 | ...l d1|-d3/a0-a|
|00005420| 31 2c 2d 28 61 37 29 00 | 20 20 20 20 80 7e 2e 6c |1,-(a7).| .~.l|
|00005430| 20 20 64 30 2c 64 32 00 | 20 20 20 20 80 7e 2e 6c | d0,d2.| .~.l|
|00005440| 20 20 69 6e 74 65 72 6e | 61 6c 67 6c 69 73 74 2c | intern|alglist,|
|00005450| 61 30 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |a0 | |
|00005460| 20 20 3b 20 50 6f 69 6e | 74 65 72 20 74 6f 20 66 | ; Poin|ter to f|
|00005470| 69 72 73 74 20 69 74 65 | 6d 00 00 20 20 20 20 27 |irst ite|m.. '|
|00005480| 66 69 6e 64 67 74 6c 69 | 73 74 3a 00 20 20 20 20 |findgtli|st:. |
|00005490| 80 1c 20 23 44 45 42 55 | 47 3d 31 00 20 20 20 20 |.. #DEBU|G=1. |
|000054a0| 80 7e 2e 6c 20 20 61 30 | 2c 2d 28 61 37 29 00 20 |.~.l a0|,-(a7). |
|000054b0| 20 20 20 21 50 55 54 53 | 54 52 7b 30 30 31 2c 22 | !PUTS|TR{001,"|
|000054c0| 61 64 64 67 61 64 70 74 | 72 3a 20 63 75 72 72 65 |addgadpt|r: curre|
|000054d0| 6e 74 20 69 74 65 6d 20 | 69 6e 20 67 74 6c 69 73 |nt item |in gtlis|
|000054e0| 74 20 3d 20 24 25 6c 78 | 22 7d 00 20 20 20 20 80 |t = $%lx|"}. .|
|000054f0| 7a 2e 6c 20 20 20 34 28 | 61 37 29 2c 61 37 00 20 |z.l 4(|a7),a7. |
|00005500| 20 20 20 80 1f 00 00 20 | 20 20 20 80 7e 2e 6c 20 | .... | .~.l |
|00005510| 20 61 30 2c 64 30 20 20 | 20 20 20 20 20 20 20 20 | a0,d0 | |
|00005520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005530| 20 3b 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 69 74 | ; point|er to it|
|00005540| 65 6d 20 69 6e 20 64 30 | 00 20 20 20 20 80 48 20 |em in d0|. .H |
|00005550| 20 20 20 20 27 6e 65 77 | 67 74 69 74 65 6d 20 20 | 'new|gtitem |
|00005560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005570| 20 20 20 20 3b 20 69 66 | 20 4e 55 4c 4c 2c 20 62 | ; if| NULL, b|
|00005580| 72 61 6e 63 68 20 74 6f | 20 63 6f 64 65 20 66 6f |ranch to| code fo|
|00005590| 72 20 63 72 65 61 74 69 | 6e 67 20 6e 65 77 20 69 |r creati|ng new i|
|000055a0| 74 65 6d 00 00 20 20 20 | 20 80 5c 2e 6c 20 20 20 |tem.. | .\.l |
|000055b0| 7b 80 2f 2e 67 74 69 6c | 5c 67 74 6c 73 74 7d 28 |{./.gtil|\gtlst}(|
|000055c0| 61 30 29 2c 64 31 20 20 | 20 20 20 20 3b 20 65 6c |a0),d1 | ; el|
|000055d0| 73 65 20 63 6f 6d 70 61 | 72 65 20 67 74 6c 69 73 |se compa|re gtlis|
|000055e0| 74 20 49 44 20 69 6e 20 | 6c 69 73 74 20 74 6f 20 |t ID in |list to |
|000055f0| 74 68 65 20 6f 6e 65 20 | 77 65 27 72 65 20 6c 6f |the one |we're lo|
|00005600| 6f 6b 69 6e 67 20 66 6f | 72 00 20 20 20 20 80 48 |oking fo|r. .H|
|00005610| 20 20 20 20 20 27 67 74 | 66 6f 75 6e 64 20 20 20 | 'gt|found |
|00005620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005630| 20 20 20 20 20 3b 20 69 | 66 20 74 68 65 79 20 61 | ; i|f they a|
|00005640| 72 65 20 74 68 65 20 73 | 61 6d 65 2c 20 62 72 61 |re the s|ame, bra|
|00005650| 6e 63 68 20 74 6f 20 63 | 6f 64 65 20 66 6f 72 20 |nch to c|ode for |
|00005660| 73 65 61 72 63 68 69 6e | 67 20 74 68 72 6f 75 67 |searchin|g throug|
|00005670| 68 20 67 61 64 67 65 74 | 20 49 44 73 00 00 20 20 |h gadget| IDs.. |
|00005680| 20 20 80 7e 2e 6c 20 20 | 28 61 30 29 2c 61 30 20 | .~.l |(a0),a0 |
|00005690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000056a0| 20 20 20 20 20 20 20 20 | 3b 20 45 6c 73 65 2c 20 | |; Else, |
|000056b0| 67 65 74 20 70 6f 69 6e | 74 65 72 20 74 6f 20 6e |get poin|ter to n|
|000056c0| 65 78 74 20 69 74 65 6d | 20 69 6e 20 67 74 6c 69 |ext item| in gtli|
|000056d0| 73 74 20 6c 69 73 74 20 | 69 6e 74 6f 20 61 30 00 |st list |into a0.|
|000056e0| 20 20 20 20 80 58 20 20 | 20 20 20 27 66 69 6e 64 | .X | 'find|
|000056f0| 67 74 6c 69 73 74 20 20 | 20 20 20 20 20 20 20 20 |gtlist | |
|00005700| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 61 6e 64 | | ; and|
|00005710| 20 72 65 70 65 61 74 20 | 6c 6f 6f 70 00 00 20 20 | repeat |loop.. |
|00005720| 20 20 27 6e 65 77 67 74 | 69 74 65 6d 3a 20 20 20 | 'newgt|item: |
|00005730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005740| 20 20 20 20 20 20 20 20 | 20 20 3b 20 57 65 20 72 | | ; We r|
|00005750| 65 61 63 68 65 64 20 74 | 68 65 20 65 6e 64 20 6f |eached t|he end o|
|00005760| 66 20 74 68 65 20 6c 6f | 6f 70 2c 20 6e 65 76 65 |f the lo|op, neve|
|00005770| 72 20 66 6f 75 6e 64 20 | 61 6e 20 69 74 65 6d 20 |r found |an item |
|00005780| 73 6f 20 77 65 20 6d 75 | 73 74 20 63 72 65 61 74 |so we mu|st creat|
|00005790| 65 20 6f 6e 65 00 20 20 | 20 20 80 1c 20 23 44 45 |e one. | .. #DE|
|000057a0| 42 55 47 3d 31 00 20 20 | 20 20 21 50 55 54 53 54 |BUG=1. | !PUTST|
|000057b0| 52 7b 30 30 32 2c 22 61 | 64 64 67 61 64 70 74 72 |R{002,"a|ddgadptr|
|000057c0| 3a 20 43 72 65 61 74 69 | 6e 67 20 6e 65 77 20 69 |: Creati|ng new i|
|000057d0| 74 65 6d 20 69 6e 20 6c | 69 73 74 20 6f 66 20 67 |tem in l|ist of g|
|000057e0| 74 6c 69 73 74 73 22 7d | 00 20 20 20 20 80 1f 00 |tlists"}|. ...|
|000057f0| 20 20 20 20 80 7e 2e 6c | 20 20 64 31 2c 64 33 20 | .~.l| d1,d3 |
|00005800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005810| 20 20 20 20 20 20 20 20 | 20 20 3b 20 50 72 65 73 | | ; Pres|
|00005820| 65 72 76 65 20 47 54 4c | 69 73 74 20 70 6f 69 6e |erve GTL|ist poin|
|00005830| 74 65 72 00 20 20 20 20 | 80 7e 2e 6c 20 20 23 80 |ter. |.~.l #.|
|00005840| 2f 2e 67 74 69 6c 2c 64 | 30 20 20 20 20 20 20 20 |/.gtil,d|0 |
|00005850| 20 20 20 20 20 20 20 20 | 20 20 3b 20 73 69 7a 65 | | ; size|
|00005860| 20 6f 66 20 6c 69 73 74 | 20 69 74 65 6d 00 20 20 | of list| item. |
|00005870| 20 20 80 7e 2e 6c 20 20 | 23 4d 45 4d 46 5f 41 4e | .~.l |#MEMF_AN|
|00005880| 59 7c 4d 45 4d 46 5f 43 | 4c 45 41 52 2c 64 31 20 |Y|MEMF_C|LEAR,d1 |
|00005890| 20 20 20 20 20 20 20 20 | 3b 20 6d 65 6d 20 74 79 | |; mem ty|
|000058a0| 70 65 00 20 20 20 20 80 | 38 20 23 67 6c 6f 62 61 |pe. .|8 #globa|
|000058b0| 6c 61 6c 6c 6f 63 20 20 | 20 20 20 20 20 20 20 20 |lalloc | |
|000058c0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 42 6c 69 74 | | ; Blit|
|000058d0| 7a 27 73 20 61 6c 6c 6f | 63 20 6d 65 6d 00 20 20 |z's allo|c mem. |
|000058e0| 20 20 80 1c 20 23 44 45 | 42 55 47 3d 31 00 20 20 | .. #DE|BUG=1. |
|000058f0| 20 20 80 7e 2e 6c 20 20 | 64 30 2c 2d 28 61 37 29 | .~.l |d0,-(a7)|
|00005900| 00 20 20 20 20 21 50 55 | 54 53 54 52 7b 30 30 33 |. !PU|TSTR{003|
|00005910| 2c 22 61 64 64 67 61 64 | 70 74 72 3a 20 61 6c 6c |,"addgad|ptr: all|
|00005920| 6f 63 61 74 65 64 20 67 | 74 6c 69 73 74 20 69 74 |ocated g|tlist it|
|00005930| 65 6d 20 3d 20 24 25 6c | 78 22 7d 00 20 20 20 20 |em = $%l|x"}. |
|00005940| 80 7a 2e 6c 20 20 20 34 | 28 61 37 29 2c 61 37 00 |.z.l 4|(a7),a7.|
|00005950| 20 20 20 20 80 1f 00 20 | 20 20 20 80 b0 2e 6c 20 | ... | ...l |
|00005960| 20 20 64 30 20 20 20 20 | 20 20 20 20 20 20 20 20 | d0 | |
|00005970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005980| 20 20 3b 20 63 68 65 63 | 6b 20 70 6f 69 6e 74 65 | ; chec|k pointe|
|00005990| 72 00 20 20 20 20 80 48 | 20 20 20 20 20 27 6e 6f |r. .H| 'no|
|000059a0| 69 74 65 6d 20 20 20 20 | 20 20 20 20 20 20 20 20 |item | |
|000059b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 6f | | ; o|
|000059c0| 68 20 64 65 61 72 00 00 | 20 20 20 20 80 7e 2e 6c |h dear..| .~.l|
|000059d0| 20 20 64 30 2c 61 30 00 | 20 20 20 20 80 7e 2e 6c | d0,a0.| .~.l|
|000059e0| 20 20 69 6e 74 65 72 6e | 61 6c 67 6c 69 73 74 2c | intern|alglist,|
|000059f0| 28 61 30 29 20 20 20 20 | 20 20 20 20 20 20 20 20 |(a0) | |
|00005a00| 20 20 3b 20 63 75 72 72 | 65 6e 74 20 68 65 61 64 | ; curr|ent head|
|00005a10| 20 6f 66 20 6c 69 73 74 | 20 70 6f 69 6e 74 65 72 | of list| pointer|
|00005a20| 20 69 6e 74 6f 20 6e 65 | 78 74 20 69 74 65 6d 20 | into ne|xt item |
|00005a30| 70 6f 69 6e 74 65 72 00 | 20 20 20 20 80 7e 2e 6c |pointer.| .~.l|
|00005a40| 20 20 61 30 2c 69 6e 74 | 65 72 6e 61 6c 67 6c 69 | a0,int|ernalgli|
|00005a50| 73 74 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |st | |
|00005a60| 20 20 3b 20 6e 65 77 20 | 69 74 65 6d 20 62 65 63 | ; new |item bec|
|00005a70| 6f 6d 65 73 20 68 65 61 | 64 20 62 6f 79 00 20 20 |omes hea|d boy. |
|00005a80| 20 20 80 7e 2e 6c 20 20 | 64 33 2c 7b 80 2f 2e 67 | .~.l |d3,{./.g|
|00005a90| 74 69 6c 5c 67 74 6c 73 | 74 7d 28 61 30 29 20 20 |til\gtls|t}(a0) |
|00005aa0| 20 20 20 20 3b 20 53 74 | 6f 72 65 20 49 44 20 6f | ; St|ore ID o|
|00005ab0| 66 20 47 54 4c 69 73 74 | 00 00 20 20 20 20 3b 20 |f GTList|.. ; |
|00005ac0| 41 64 64 20 6e 65 77 20 | 67 61 64 67 65 74 20 74 |Add new |gadget t|
|00005ad0| 6f 20 74 68 69 73 20 6d | 6f 6e 6b 65 79 20 62 6f |o this m|onkey bo|
|00005ae0| 79 00 20 20 20 20 27 67 | 74 66 6f 75 6e 64 3a 00 |y. 'g|tfound:.|
|00005af0| 20 20 20 20 80 1c 20 23 | 44 45 42 55 47 3d 31 00 | .. #|DEBUG=1.|
|00005b00| 20 20 20 20 21 50 55 54 | 53 54 52 7b 30 30 34 2c | !PUT|STR{004,|
|00005b10| 22 61 64 64 67 61 64 70 | 74 72 3a 20 43 72 65 61 |"addgadp|tr: Crea|
|00005b20| 74 69 6e 67 20 6e 65 77 | 20 69 74 65 6d 20 69 6e |ting new| item in|
|00005b30| 20 6c 69 73 74 20 6f 66 | 20 67 61 64 67 65 74 73 | list of| gadgets|
|00005b40| 22 7d 00 20 20 20 20 80 | 1f 00 20 20 20 20 80 7e |"}. .|.. .~|
|00005b50| 2e 6c 20 20 23 80 2f 2e | 67 74 69 6e 6c 69 73 74 |.l #./.|gtinlist|
|00005b60| 2c 64 30 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,d0 | |
|00005b70| 3b 20 73 69 7a 65 20 6f | 66 20 6c 69 73 74 20 69 |; size o|f list i|
|00005b80| 74 65 6d 00 20 20 20 20 | 80 7e 2e 6c 20 20 23 4d |tem. |.~.l #M|
|00005b90| 45 4d 46 5f 41 4e 59 7c | 4d 45 4d 46 5f 43 4c 45 |EMF_ANY||MEMF_CLE|
|00005ba0| 41 52 2c 64 31 20 20 20 | 20 20 20 20 20 20 3b 20 |AR,d1 | ; |
|00005bb0| 6d 65 6d 20 74 79 70 65 | 00 20 20 20 20 80 38 20 |mem type|. .8 |
|00005bc0| 23 67 6c 6f 62 61 6c 61 | 6c 6c 6f 63 00 20 20 20 |#globala|lloc. |
|00005bd0| 20 80 1c 20 23 44 45 42 | 55 47 3d 31 00 20 20 20 | .. #DEB|UG=1. |
|00005be0| 20 80 7e 2e 6c 20 20 64 | 30 2c 2d 28 61 37 29 00 | .~.l d|0,-(a7).|
|00005bf0| 20 20 20 20 21 50 55 54 | 53 54 52 7b 30 30 35 2c | !PUT|STR{005,|
|00005c00| 22 61 64 64 67 61 64 70 | 74 72 3a 20 61 6c 6c 6f |"addgadp|tr: allo|
|00005c10| 63 61 74 65 64 20 67 61 | 64 67 65 74 20 69 74 65 |cated ga|dget ite|
|00005c20| 6d 20 3d 20 24 25 6c 78 | 22 7d 00 20 20 20 20 80 |m = $%lx|"}. .|
|00005c30| 7a 2e 6c 20 20 20 34 28 | 61 37 29 2c 61 37 00 20 |z.l 4(|a7),a7. |
|00005c40| 20 20 20 80 1f 00 20 20 | 20 20 80 b0 2e 6c 20 20 | ... | ...l |
|00005c50| 20 64 30 00 20 20 20 20 | 80 48 20 20 20 20 20 27 | d0. |.H '|
|00005c60| 6e 6f 69 74 65 6d 00 00 | 20 20 20 20 80 7e 2e 6c |noitem..| .~.l|
|00005c70| 20 20 64 30 2c 61 31 00 | 20 20 20 20 80 7e 2e 6c | d0,a1.| .~.l|
|00005c80| 20 20 7b 80 2f 2e 67 74 | 69 6c 5c 46 69 72 73 74 | {./.gt|il\First|
|00005c90| 7d 28 61 30 29 2c 28 61 | 31 29 00 20 20 20 20 80 |}(a0),(a|1). .|
|00005ca0| 7e 2e 6c 20 20 61 31 2c | 7b 80 2f 2e 67 74 69 6c |~.l a1,|{./.gtil|
|00005cb0| 5c 46 69 72 73 74 7d 28 | 61 30 29 00 20 20 20 20 |\First}(|a0). |
|00005cc0| 80 7e 2e 77 20 20 64 32 | 2c 7b 80 2f 2e 67 74 69 |.~.w d2|,{./.gti|
|00005cd0| 6e 6c 69 73 74 5c 69 64 | 7d 28 61 31 29 00 00 20 |nlist\id|}(a1).. |
|00005ce0| 20 20 20 27 6e 6f 69 74 | 65 6d 3a 00 20 20 20 20 | 'noit|em:. |
|00005cf0| 80 82 2e 6c 20 28 61 37 | 29 2b 2c 64 31 2d 64 33 |...l (a7|)+,d1-d3|
|00005d00| 2f 61 30 2d 61 31 00 20 | 20 20 20 80 94 00 00 00 |/a0-a1. | .....|
|00005d10| 3b 20 46 72 65 65 73 20 | 6f 6e 65 20 67 61 64 67 |; Frees |one gadg|
|00005d20| 65 74 20 66 72 6f 6d 20 | 61 6e 20 69 6e 74 65 72 |et from |an inter|
|00005d30| 6e 61 6c 20 67 74 69 6e | 6c 69 73 74 00 3b 20 64 |nal gtin|list.; d|
|00005d40| 30 20 3d 20 70 6f 69 6e | 74 65 72 20 74 6f 20 67 |0 = poin|ter to g|
|00005d50| 74 6c 69 73 74 00 3b 20 | 64 31 20 3d 20 67 61 64 |tlist.; |d1 = gad|
|00005d60| 67 65 74 20 49 44 00 3b | 20 72 65 74 75 72 6e 73 |get ID.;| returns|
|00005d70| 20 6e 6f 74 68 69 6e 67 | 2c 20 70 72 65 73 65 72 | nothing|, preser|
|00005d80| 76 65 73 20 61 6c 6c 20 | 72 65 67 69 73 74 65 72 |ves all |register|
|00005d90| 73 00 2e 72 65 6d 67 61 | 64 70 74 72 3a 00 20 20 |s..remga|dptr:. |
|00005da0| 20 20 80 82 2e 6c 20 64 | 30 2d 64 32 2f 61 30 2d | ...l d|0-d2/a0-|
|00005db0| 61 31 2c 2d 28 61 37 29 | 00 00 20 20 20 20 80 7a |a1,-(a7)|.. .z|
|00005dc0| 2e 6c 20 20 20 69 6e 74 | 65 72 6e 61 6c 67 6c 69 |.l int|ernalgli|
|00005dd0| 73 74 2c 61 31 20 20 20 | 20 20 20 20 20 20 20 20 |st,a1 | |
|00005de0| 20 20 20 20 20 3b 20 50 | 6f 69 6e 74 65 72 20 74 | ; P|ointer t|
|00005df0| 6f 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 68 65 61 |o pointe|r to hea|
|00005e00| 64 20 6f 66 20 6c 69 73 | 74 20 69 6e 74 6f 20 61 |d of lis|t into a|
|00005e10| 31 00 00 20 20 20 20 27 | 67 74 6c 6f 6f 70 3a 00 |1.. '|gtloop:.|
|00005e20| 20 20 20 20 80 7e 2e 6c | 20 20 28 61 31 29 2c 64 | .~.l| (a1),d|
|00005e30| 32 00 20 20 20 20 80 48 | 20 20 20 20 20 27 6e 6f |2. .H| 'no|
|00005e40| 6c 69 73 74 00 00 20 20 | 20 20 80 7e 2e 6c 20 20 |list.. | .~.l |
|00005e50| 64 32 2c 61 30 00 20 20 | 20 20 80 5c 2e 6c 20 20 |d2,a0. | .\.l |
|00005e60| 20 7b 80 2f 2e 67 74 69 | 6c 5c 67 74 6c 73 74 7d | {./.gti|l\gtlst}|
|00005e70| 28 61 30 29 2c 64 30 00 | 20 20 20 20 80 48 20 20 |(a0),d0.| .H |
|00005e80| 20 20 20 27 67 6f 74 6c | 69 73 74 00 00 20 20 20 | 'gotl|ist.. |
|00005e90| 20 80 7e 2e 6c 20 20 61 | 30 2c 61 31 00 20 20 20 | .~.l a|0,a1. |
|00005ea0| 20 80 58 20 20 20 20 20 | 27 67 74 6c 6f 6f 70 00 | .X |'gtloop.|
|00005eb0| 00 20 20 20 20 3b 20 46 | 6f 75 6e 64 20 73 74 61 |. ; F|ound sta|
|00005ec0| 72 74 20 6f 66 20 67 74 | 6c 69 73 74 20 2d 20 73 |rt of gt|list - s|
|00005ed0| 65 61 72 63 68 20 66 6f | 72 20 67 61 64 67 65 74 |earch fo|r gadget|
|00005ee0| 20 61 6e 64 20 70 72 65 | 76 69 6f 75 73 20 67 61 | and pre|vious ga|
|00005ef0| 64 67 65 74 00 20 20 20 | 20 27 67 6f 74 6c 69 73 |dget. | 'gotlis|
|00005f00| 74 3a 00 20 20 20 20 80 | 7a 2e 6c 20 20 20 7b 80 |t:. .|z.l {.|
|00005f10| 2f 2e 67 74 69 6c 5c 46 | 69 72 73 74 7d 28 61 30 |/.gtil\F|irst}(a0|
|00005f20| 29 2c 61 31 20 20 20 20 | 20 20 3b 20 50 6f 69 6e |),a1 | ; Poin|
|00005f30| 74 65 72 20 74 6f 20 70 | 6f 69 6e 74 65 72 20 74 |ter to p|ointer t|
|00005f40| 6f 20 68 65 61 64 20 6f | 66 20 6c 69 73 74 00 00 |o head o|f list..|
|00005f50| 20 20 20 20 27 67 61 64 | 6c 6f 6f 70 3a 00 20 20 | 'gad|loop:. |
|00005f60| 20 20 80 7e 2e 6c 20 20 | 28 61 31 29 2c 64 32 20 | .~.l |(a1),d2 |
|00005f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f80| 20 20 20 20 20 20 20 20 | 3b 20 50 6f 69 6e 74 65 | |; Pointe|
|00005f90| 72 20 74 6f 20 6e 65 78 | 74 20 69 74 65 6d 20 69 |r to nex|t item i|
|00005fa0| 6e 20 6c 69 73 74 20 2d | 3e 20 64 32 00 20 20 20 |n list -|> d2. |
|00005fb0| 20 80 48 20 20 20 20 20 | 27 6e 6f 6c 69 73 74 20 | .H |'nolist |
|00005fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005fd0| 20 20 20 20 20 20 20 20 | 3b 20 69 66 20 4e 55 4c | |; if NUL|
|00005fe0| 4c 2c 20 77 65 20 63 61 | 6e 27 74 20 66 69 6e 64 |L, we ca|n't find|
|00005ff0| 20 74 68 65 20 67 61 64 | 67 65 74 2c 20 65 78 69 | the gad|get, exi|
|00006000| 74 00 00 20 20 20 20 80 | 7e 2e 6c 20 20 64 32 2c |t.. .|~.l d2,|
|00006010| 61 30 00 20 20 20 20 80 | 5c 2e 77 20 20 20 7b 80 |a0. .|\.w {.|
|00006020| 2f 2e 67 74 69 6e 6c 69 | 73 74 5c 69 64 7d 28 61 |/.gtinli|st\id}(a|
|00006030| 30 29 2c 64 31 20 20 20 | 20 20 3b 20 43 6f 6d 70 |0),d1 | ; Comp|
|00006040| 61 72 65 20 49 44 20 74 | 6f 20 74 68 65 20 6f 6e |are ID t|o the on|
|00006050| 65 20 77 65 20 61 72 65 | 20 6c 6f 6f 6b 69 6e 67 |e we are| looking|
|00006060| 20 66 6f 72 00 20 20 20 | 20 80 48 20 20 20 20 20 | for. | .H |
|00006070| 27 67 6f 74 67 61 64 00 | 00 20 20 20 20 80 7e 2e |'gotgad.|. .~.|
|00006080| 6c 20 20 61 30 2c 61 31 | 00 20 20 20 20 80 58 20 |l a0,a1|. .X |
|00006090| 20 20 20 20 27 67 61 64 | 6c 6f 6f 70 00 00 20 20 | 'gad|loop.. |
|000060a0| 20 20 3b 20 46 6f 75 6e | 64 20 67 61 64 67 65 74 | ; Foun|d gadget|
|000060b0| 20 28 70 72 65 76 69 6f | 75 73 3d 61 31 2c 20 69 | (previo|us=a1, i|
|000060c0| 74 65 6d 20 74 6f 20 66 | 72 65 65 3d 61 30 29 00 |tem to f|ree=a0).|
|000060d0| 20 20 20 20 27 67 6f 74 | 67 61 64 3a 00 20 20 20 | 'got|gad:. |
|000060e0| 20 80 7e 2e 6c 20 20 61 | 30 2c 2d 28 61 37 29 20 | .~.l a|0,-(a7) |
|000060f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006100| 20 20 20 20 20 20 20 3b | 20 70 72 65 73 65 72 76 | ;| preserv|
|00006110| 65 20 61 30 00 20 20 20 | 20 80 7e 2e 6c 20 20 28 |e a0. | .~.l (|
|00006120| 61 30 29 2c 28 61 31 29 | 20 20 20 20 20 20 20 20 |a0),(a1)| |
|00006130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00006140| 20 50 6f 69 6e 74 65 72 | 20 74 6f 20 6e 65 78 74 | Pointer| to next|
|00006150| 20 67 61 64 67 65 74 20 | 69 6e 20 6e 65 78 74 20 | gadget |in next |
|00006160| 66 69 65 6c 64 20 6f 66 | 20 70 72 65 76 69 6f 75 |field of| previou|
|00006170| 73 20 67 61 64 67 65 74 | 00 20 20 20 20 80 7e 2e |s gadget|. .~.|
|00006180| 6c 20 20 7b 80 2f 2e 67 | 74 69 6e 6c 69 73 74 5c |l {./.g|tinlist\|
|00006190| 53 70 65 63 69 61 6c 7d | 28 61 30 29 2c 64 30 3b |Special}|(a0),d0;|
|000061a0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 73 70 65 63 | pointer| to spec|
|000061b0| 69 61 6c 20 6d 65 6d 6f | 72 79 20 69 6e 74 6f 20 |ial memo|ry into |
|000061c0| 64 30 00 20 20 20 20 80 | 48 20 20 20 20 20 27 6e |d0. .|H 'n|
|000061d0| 6f 73 70 65 63 00 00 20 | 20 20 20 80 7e 2e 6c 20 |ospec.. | .~.l |
|000061e0| 20 64 30 2c 61 31 20 20 | 20 20 20 20 20 20 20 20 | d0,a1 | |
|000061f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006200| 20 3b 20 70 6f 69 6e 74 | 65 72 74 6f 20 73 70 65 | ; point|erto spe|
|00006210| 63 69 61 6c 20 6d 65 6d | 20 69 6e 74 6f 20 61 31 |cial mem| into a1|
|00006220| 00 20 20 20 20 80 aa 2e | 77 20 20 23 34 2c 61 31 |. ...|w #4,a1|
|00006230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006240| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 70 6f 69 | | ; poi|
|00006250| 6e 74 65 72 20 74 6f 20 | 73 74 61 72 74 20 6f 66 |nter to |start of|
|00006260| 20 61 6c 6c 6f 63 61 74 | 65 64 20 6d 65 6d 6f 72 | allocat|ed memor|
|00006270| 79 20 66 6f 72 20 73 70 | 65 63 69 61 6c 00 20 20 |y for sp|ecial. |
|00006280| 20 20 80 7e 2e 6c 20 20 | 28 61 31 29 2c 64 30 20 | .~.l |(a1),d0 |
|00006290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000062a0| 20 20 20 20 20 20 20 20 | 3b 20 73 69 7a 65 20 6f | |; size o|
|000062b0| 66 20 61 6c 6c 6f 63 61 | 74 65 64 20 6d 65 6d 6f |f alloca|ted memo|
|000062c0| 72 79 00 20 20 20 20 80 | 38 20 23 67 6c 6f 62 61 |ry. .|8 #globa|
|000062d0| 6c 66 72 65 65 20 20 20 | 20 20 20 20 20 20 20 20 |lfree | |
|000062e0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 66 72 65 65 | | ; free|
|000062f0| 6d 65 6d 00 20 20 20 20 | 80 7e 2e 6c 20 20 28 61 |mem. |.~.l (a|
|00006300| 37 29 2c 61 30 20 20 20 | 20 20 20 20 20 20 20 20 |7),a0 | |
|00006310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00006320| 72 65 73 74 6f 72 65 20 | 61 30 00 00 20 20 20 20 |restore |a0.. |
|00006330| 27 6e 6f 73 70 65 63 3a | 00 20 20 20 20 80 7e 2e |'nospec:|. .~.|
|00006340| 6c 20 20 7b 80 2f 2e 67 | 74 69 6e 6c 69 73 74 5c |l {./.g|tinlist\|
|00006350| 54 65 78 74 7d 28 61 30 | 29 2c 64 30 20 20 20 3b |Text}(a0|),d0 ;|
|00006360| 20 50 6f 69 6e 74 65 72 | 20 74 6f 20 67 61 64 67 | Pointer| to gadg|
|00006370| 65 74 20 74 65 78 74 00 | 20 20 20 20 80 48 20 20 |et text.| .H |
|00006380| 20 20 20 27 6e 6f 74 65 | 78 74 00 20 20 20 20 80 | 'note|xt. .|
|00006390| 7e 2e 6c 20 20 61 30 2c | 2d 28 61 37 29 20 20 20 |~.l a0,|-(a7) |
|000063a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063b0| 20 20 20 20 20 3b 20 70 | 72 65 73 65 72 76 65 20 | ; p|reserve |
|000063c0| 61 30 00 20 20 20 20 80 | 38 20 23 73 74 72 69 6e |a0. .|8 #strin|
|000063d0| 67 66 72 65 65 20 20 20 | 20 20 20 20 20 20 20 20 |gfree | |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 66 72 65 65 | | ; free|
|000063f0| 6d 65 6d 00 00 20 20 20 | 20 27 6e 6f 74 65 78 74 |mem.. | 'notext|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.